Skip to content

Tailwind CSS v4 default palette

Tailwind orange-50: #FFF7ED

In Tailwind CSS v4, orange-50 is defined as --color-orange-50: oklch(98% 0.016 73.684), which is #FFF7ED in hex and rgb(255, 247, 237): an off-white with a beige tint. In Tailwind v3, orange-50 was #FFF7ED.

orange-50#FFF7ED

In OKLCH, orange-50 has a lightness of 98.0%, chroma 0.016 and hue 73.7°.

This OKLCH value lies outside sRGB. The hex #FFF7ED is the sRGB fallback from the CSS Color 4 gamut mapping algorithm; on Display P3 screens browsers show a more saturated color, close to color(display-p3 0.9953 0.9701 0.9335).

In v3, orange-50 was #FFF7ED. The v4 value is ΔE OK 0.0 away, below the point where most people can tell them apart.

Tailwind orange runs from a pale peach at 50 to a deep burnt orange at 950, with its highest chroma at 600.

Color codes for orange-50

Color codes for orange-50
Tailwind v4 token--color-orange-50
OKLCH (source value)oklch(98% 0.016 73.684)
HEX#FFF7ED
RGBrgb(255, 247, 237)
HSLhsl(33, 100%, 96%)
HWBhwb(33 93% 0%)
CMYK (naive, no ICC profile)cmyk(0%, 3%, 7%, 0%)
Decimal16,775,149
Display P3color(display-p3 0.9953 0.9701 0.9335)
Tailwind v3 hex#FFF7ED
Utility classesbg-orange-50, text-orange-50, border-orange-50

Tailwind orange scale

Contrast and accessibility

On orange-50, black text has a contrast ratio of 19.77:1 and passes AAA at any text size; white text reaches 1.06:1.

WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on orange-5019.77:1PassPassPassPass101.9
White text on orange-501.06:1FailFailFailFail0.0
Orange-50 text on white1.06:1FailFailFailFail0.0
Orange-50 text on black19.77:1PassPassPassPass−103.3

Tints and shades

Each step mixes var(--color-orange-50) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-orange-50), white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #fff7ee
  2. 15%
    #fff8f0
  3. 25%
    #fff9f2
  4. 35%
    #fffaf3
  5. 45%
    #fffbf5
  6. 55%
    #fffbf7
  7. 65%
    #fffcf9
  8. 75%
    #fffdfb
  9. 85%
    #fffefc
  10. 95%
    #fffffe

Shades (mixed with black)

  1. 5%
    #f2ebe1
  2. 15%
    #d9d2c9
  3. 25%
    #bfb9b2
  4. 35%
    #a6a19a
  5. 45%
    #8c8882
  6. 55%
    #736f6b
  7. 65%
    #595653
  8. 75%
    #403e3b
  9. 85%
    #262524
  10. 95%
    #0d0c0c

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, orange-50's complementary color is #F1F9FF (close to aliceblue), its analogous colors are #FFF5F0 and #FAF9ED, and its triadic partners are #EDFCFB and #FCF5FF. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#f1f9ff
Analogous−30°, +30°#fff5f0#faf9ed
Triadic+120°, +240°#edfcfb#fcf5ff
Split-complementary+150°, +210°#eefbff#f7f7ff

Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.

Warm or cool?

Tailwind orange-50 is close to neutral: its OKLCH chroma is only 0.016, so its temperature comes from context. The faint 33° hue gives it a slightly warm cast.

Nearest named and Tailwind colors

Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
seashell#fff5ee0.6
floralwhite#fffaf00.7
oldlace#fdf5e61.0

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
amber-50#fffbeb1.2
taupe-50#fbfaf91.5
olive-50#fbfbf91.6

Code snippets

Tailwind CSS
<div class="bg-orange-50 text-black">...</div>
<p class="text-orange-50 border-orange-50">...</p>
CSS
.element {
  color: var(--color-orange-50);
  background-color: oklch(98% 0.016 73.684);
  border-color: #fff7ed;
  outline-color: rgb(255 247 237);
}
SwiftUI
import SwiftUI

extension Color {
  static let orange50 = Color(red: 1.000, green: 0.969, blue: 0.929)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Orange50 = Color(0xFFFFF7ED)
Flutter
import 'package:flutter/material.dart';

const orange50 = Color(0xFFFFF7ED);
Android XML
<!-- res/values/colors.xml -->
<color name="orange_50">#FFF7ED</color>

Frequently asked questions

What is the hex code for Tailwind orange-50?
In Tailwind CSS v4, orange-50 is oklch(98% 0.016 73.684), which converts to #FFF7ED (rgb(255, 247, 237)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #FFF7ED.
What is the difference between orange-50 in Tailwind v3 and v4?
v3 used the hex #FFF7ED; v4 redefined the palette in OKLCH as oklch(98% 0.016 73.684). In v3, orange-50 was #FFF7ED. The v4 value is ΔE OK 0.0 away, below the point where most people can tell them apart.
How do I use orange-50 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-orange-50). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on orange-50?
White text on orange-50 has a contrast ratio of 1.06:1, which fails AA even for large text under WCAG 2.2. Black text reaches 19.77:1 and passes both AA and AAA. In APCA terms that is Lc 0.0 for white and Lc 101.9 for black.
Which CSS named color is closest to orange-50?
The closest is seashell (#FFF5EE) at ΔE OK 0.6, followed by floralwhite and oldlace.

Last reviewed by Arielton Oberek.