#DEDF97

Closest named color: Light Gold (#F3DE8A). oklch(88.6% 0.092 108.8), rgb(222, 223, 151).

Aa

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

About this color

#DEDF97 is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.092 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Light Gold (#F3DE8A), ΔE 0.030 away. Black text reads best on it, at 15.10:1.

Hue familyYellows
Lightnesslight (89%)
Chromamoderately saturated (0.092)
Temperaturewarm
Nearest nameLight Gold (#F3DE8A)
Black text15.10:1
White text1.39:1

Values

HEX#DEDF97
RGBrgb(222, 223, 151)
HSLhsl(61, 53%, 73%)
OKLCHoklch(88.6% 0.092 108.8)

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 #DEDF97 1.39:1 Fails Lc -21.6 Dividers and decoration only
Black text on #DEDF97 15.10:1 AAA Lc 84.8 Fine for body text
#DEDF97 text on white 1.39:1 Fails Lc 18.9 Dividers and decoration only
#DEDF97 text on black 15.10:1 AAA Lc -84.6 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

    #F6F7EB

    oklch(97.2% 0.016 110.6)

  2. Step 100

    100

    #EBECD2

    oklch(93.5% 0.034 108.8)

  3. Step 200

    200 (this color)

    #DEDF97

    oklch(88.6% 0.092 108.8)

  4. Step 300

    300

    #C7C767

    oklch(81% 0.119 108.8)

  5. Step 400

    400

    #A9A700

    oklch(70.7% 0.153 108.9)

  6. Step 500

    500

    #918F00

    oklch(63.1% 0.137 108.8)

  7. Step 600

    600

    #7A7800

    oklch(55.6% 0.12 108.6)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #545200

    oklch(42.7% 0.092 108.1)

  10. Step 900

    900

    #454400

    oklch(37.5% 0.081 108.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#DEDF97 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.020
Deuteranopia (no green cones)#EBDC9A0.020
Tritanopia (no blue cones)#E8D6CD0.083
Achromatopsia (no color)#DBDBDB0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #DEDF97

    #DEDF97

    oklch(88.6% 0.092 108.8)

  • #D7D4FF

    #D7D4FF

    oklch(88.6% 0.059 288.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DEDF97

    #DEDF97

    oklch(88.6% 0.092 108.8)

  • #FBD393

    #FBD393

    oklch(88.7% 0.093 78.9)

  • #BBE9AE

    #BBE9AE

    oklch(88.7% 0.092 138.8)

Open the analogous palette in the generator

Split complementary

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

  • #DEDF97

    #DEDF97

    oklch(88.6% 0.092 108.8)

  • #C4DBFF

    #C4DBFF

    oklch(88.6% 0.056 259.3)

  • #F3C8FF

    #F3C8FF

    oklch(88.7% 0.087 318.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DEDF97

    #DEDF97

    oklch(88.6% 0.092 108.8)

  • #A9E3FF

    #A9E3FF

    oklch(88.6% 0.071 229.3)

  • #FFC7E1

    #FFC7E1

    oklch(88.7% 0.072 349.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DEDF97

    #DEDF97

    oklch(88.6% 0.092 108.8)

  • #8BEDF0

    #8BEDF0

    oklch(88.7% 0.093 198.2)

  • #D7D4FF

    #D7D4FF

    oklch(88.6% 0.059 288.3)

  • #FFCACA

    #FFCACA

    oklch(88.5% 0.06 18.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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