#FFD97B

Closest named color: Sandy (#F1DA7A). oklch(89.8% 0.121 87.9), rgb(255, 217, 123).

Aa

Black text reads best on this color (15.46:1).

About this color

#FFD97B is a light, moderately saturated orange. In OKLCH its lightness is 90%, its chroma 0.121 and its hue 88°. Its hue sits on the warm side of the wheel. The nearest named color is Sandy (#F1DA7A), ΔE 0.021 away. Black text reads best on it, at 15.46:1.

Hue familyOranges
Lightnesslight (90%)
Chromamoderately saturated (0.121)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text15.46:1
White text1.35:1

Values

HEX#FFD97B
RGBrgb(255, 217, 123)
HSLhsl(43, 100%, 74%)
OKLCHoklch(89.8% 0.121 87.9)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #FFD97B 1.35:1 Fails Lc -20.0 Dividers and decoration only
Black text on #FFD97B 15.46:1 AAA Lc 86.2 Fine for body text
#FFD97B text on white 1.35:1 Fails Lc 17.5 Dividers and decoration only
#FFD97B text on black 15.46:1 AAA Lc -86.1 Fine for body text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 200.

  1. Step 50

    50

    #FBF5E6

    oklch(97.1% 0.021 88.7)

  2. Step 100

    100

    #F6E9C8

    oklch(93.6% 0.045 89.1)

  3. Step 200

    200 (this color)

    #FFD97B

    oklch(89.8% 0.121 87.9)

  4. Step 300

    300

    #EAB92A

    oklch(80.8% 0.155 87.8)

  5. Step 400

    400

    #C69A00

    oklch(70.7% 0.145 88.1)

  6. Step 500

    500

    #AA8400

    oklch(63.2% 0.129 88.2)

  7. Step 600

    600

    #8F6E00

    oklch(55.5% 0.114 87.7)

  8. Step 700

    700

    #785C00

    oklch(49% 0.1 87.9)

  9. Step 800

    800

    #634B00

    oklch(42.6% 0.087 87.5)

  10. Step 900

    900

    #533E00

    oklch(37.6% 0.077 86.9)

  11. Step 950

    950

    #322400

    oklch(27% 0.055 86.6)

Export this scale for Tailwind in the Tailwind colors tool

#FFD97B with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#ECD7730.031
Deuteranopia (no green cones)#F6E17E0.022
Tritanopia (no blue cones)#FFCBC30.105
Achromatopsia (no color)#DDDDDD0.121

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #FFD97B

    #FFD97B

    oklch(89.8% 0.121 87.9)

  • #CFDDFF

    #CFDDFF

    oklch(89.8% 0.049 267.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FFD97B

    #FFD97B

    oklch(89.8% 0.121 87.9)

  • #FFD4B4

    #FFD4B4

    oklch(89.9% 0.064 58.5)

  • #D6E98A

    #D6E98A

    oklch(89.9% 0.121 118.2)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #FFD97B

    #FFD97B

    oklch(89.8% 0.121 87.9)

  • #BCE4FF

    #BCE4FF

    oklch(89.9% 0.056 237.8)

  • #E1D6FF

    #E1D6FF

    oklch(89.8% 0.057 297.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FFD97B

    #FFD97B

    oklch(89.8% 0.121 87.9)

  • #8BF0FF

    #8BF0FF

    oklch(89.9% 0.097 207.9)

  • #FFC9FC

    #FFC9FC

    oklch(89.9% 0.09 328.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FFD97B

    #FFD97B

    oklch(89.8% 0.121 87.9)

  • #78F8DD

    #78F8DD

    oklch(89.9% 0.121 177.6)

  • #CFDDFF

    #CFDDFF

    oklch(89.8% 0.049 267.7)

  • #FFCEDD

    #FFCEDD

    oklch(89.8% 0.058 358.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #FFD97B, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #FFD97B in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.