#FFD997

Closest named color: Navajo White (#FFDEAD). oklch(90.3% 0.093 80.9), rgb(255, 217, 151).

Aa

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

About this color

#FFD997 is a very light, moderately saturated orange. In OKLCH its lightness is 90%, its chroma 0.093 and its hue 81°. Its hue sits on the warm side of the wheel. The nearest named color is Navajo White (#FFDEAD), ΔE 0.025 away. Black text reads best on it, at 15.62:1.

Hue familyOranges
Lightnessvery light (90%)
Chromamoderately saturated (0.093)
Temperaturewarm
Nearest nameNavajo White (#FFDEAD)
Black text15.62:1
White text1.34:1

Values

HEX#FFD997
RGBrgb(255, 217, 151)
HSLhsl(38, 100%, 80%)
OKLCHoklch(90.3% 0.093 80.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 #FFD997 1.34:1 Fails Lc -19.3 Dividers and decoration only
Black text on #FFD997 15.62:1 AAA Lc 86.8 Fine for body text
#FFD997 text on white 1.34:1 Fails Lc 16.9 Dividers and decoration only
#FFD997 text on black 15.62:1 AAA Lc -86.8 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

    #FBF5EA

    oklch(97.2% 0.016 82.8)

  2. Step 100

    100

    #F6E8D0

    oklch(93.6% 0.035 81.3)

  3. Step 200

    200 (this color)

    #FFD997

    oklch(90.3% 0.093 80.9)

  4. Step 300

    300

    #E8B860

    oklch(80.8% 0.12 80.9)

  5. Step 400

    400

    #CF9500

    oklch(70.7% 0.146 80.7)

  6. Step 500

    500

    #B17F00

    oklch(63% 0.13 80.8)

  7. Step 600

    600

    #956B00

    oklch(55.6% 0.115 81.4)

  8. Step 700

    700

    #7E5900

    oklch(49% 0.101 80.5)

  9. Step 800

    800

    #674900

    oklch(42.7% 0.088 81.6)

  10. Step 900

    900

    #573C00

    oklch(37.7% 0.078 80.1)

  11. Step 950

    950

    #342300

    oklch(27% 0.056 81.4)

Export this scale for Tailwind in the Tailwind colors tool

#FFD997 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)#EAD9920.032
Deuteranopia (no green cones)#F3E2990.027
Tritanopia (no blue cones)#FFCDC80.078
Achromatopsia (no color)#DEDEDE0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #FFD997

    #FFD997

    oklch(90.3% 0.093 80.9)

  • #CEE0FF

    #CEE0FF

    oklch(90.3% 0.047 261.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FFD997

    #FFD997

    oklch(90.3% 0.093 80.9)

  • #FFD5BD

    #FFD5BD

    oklch(90.3% 0.057 51.4)

  • #E1E59C

    #E1E59C

    oklch(90.2% 0.094 110.8)

Open the analogous palette in the generator

Split complementary

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

  • #FFD997

    #FFD997

    oklch(90.3% 0.093 80.9)

  • #B8E7FF

    #B8E7FF

    oklch(90.3% 0.059 230.4)

  • #DEDAFF

    #DEDAFF

    oklch(90.3% 0.05 290.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FFD997

    #FFD997

    oklch(90.3% 0.093 80.9)

  • #8FF2F8

    #8FF2F8

    oklch(90.3% 0.094 200.7)

  • #F7CFFF

    #F7CFFF

    oklch(90.3% 0.077 320.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FFD997

    #FFD997

    oklch(90.3% 0.093 80.9)

  • #9DF4D6

    #9DF4D6

    oklch(90.4% 0.094 170.3)

  • #CEE0FF

    #CEE0FF

    oklch(90.3% 0.047 261.4)

  • #FFCFE4

    #FFCFE4

    oklch(90.2% 0.06 350.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #FFD997 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.