#DEF3AD

Closest named color: Light Khaki (#E6F2A2). oklch(93.2% 0.093 121.8), rgb(222, 243, 173).

Aa

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

About this color

#DEF3AD is a very light, moderately saturated yellow. In OKLCH its lightness is 93%, its chroma 0.093 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Khaki (#E6F2A2), ΔE 0.014 away. Black text reads best on it, at 17.52:1.

Hue familyYellows
Lightnessvery light (93%)
Chromamoderately saturated (0.093)
Temperaturein between
Nearest nameLight Khaki (#E6F2A2)
Black text17.52:1
White text1.19:1

Values

HEX#DEF3AD
RGBrgb(222, 243, 173)
HSLhsl(78, 74%, 82%)
OKLCHoklch(93.2% 0.093 121.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 #DEF3AD 1.19:1 Fails Lc -11.3 Not readable
Black text on #DEF3AD 17.52:1 AAA Lc 93.9 Preferred for body text
#DEF3AD text on white 1.19:1 Fails Lc 9.6 Not readable
#DEF3AD text on black 17.52:1 AAA Lc -94.5 Preferred 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 100.

  1. Step 50

    50

    #F3F7EC

    oklch(97% 0.015 123)

  2. Step 100

    100 (this color)

    #DEF3AD

    oklch(93.2% 0.093 121.8)

  3. Step 200

    200

    #D2E1B0

    oklch(88.6% 0.067 121.6)

  4. Step 300

    300

    #B4CD72

    oklch(80.9% 0.12 121.7)

  5. Step 400

    400

    #90B000

    oklch(70.8% 0.171 121.8)

  6. Step 500

    500

    #7B9700

    oklch(63.2% 0.153 121.9)

  7. Step 600

    600

    #677F00

    oklch(55.7% 0.135 121.9)

  8. Step 700

    700

    #566A00

    oklch(49% 0.118 121.7)

  9. Step 800

    800

    #465700

    oklch(42.7% 0.103 121.8)

  10. Step 900

    900

    #3A4800

    oklch(37.6% 0.091 121.4)

  11. Step 950

    950

    #212B00

    oklch(27% 0.066 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#DEF3AD 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)#FBEBA80.041
Deuteranopia (no green cones)#F9EBB00.041
Tritanopia (no blue cones)#E4ECE10.077
Achromatopsia (no color)#EAEAEA0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #DEF3AD

    #DEF3AD

    oklch(93.2% 0.093 121.8)

  • #EDE3FF

    #EDE3FF

    oklch(93.2% 0.039 301.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DEF3AD

    #DEF3AD

    oklch(93.2% 0.093 121.8)

  • #FFE7A0

    #FFE7A0

    oklch(93.2% 0.093 91.5)

  • #BAFBCA

    #BAFBCA

    oklch(93.2% 0.093 151.9)

Open the analogous palette in the generator

Split complementary

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

  • #DEF3AD

    #DEF3AD

    oklch(93.2% 0.093 121.8)

  • #E1E8FF

    #E1E8FF

    oklch(93.3% 0.032 272.3)

  • #FFDCF9

    #FFDCF9

    oklch(93.2% 0.054 331.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DEF3AD

    #DEF3AD

    oklch(93.2% 0.093 121.8)

  • #D4ECFF

    #D4ECFF

    oklch(93.1% 0.036 241.8)

  • #FFDFE7

    #FFDFE7

    oklch(93.2% 0.037 1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DEF3AD

    #DEF3AD

    oklch(93.2% 0.093 121.8)

  • #BDF4FF

    #BDF4FF

    oklch(93.3% 0.058 211.2)

  • #EDE3FF

    #EDE3FF

    oklch(93.2% 0.039 301.9)

  • #FFE1DA

    #FFE1DA

    oklch(93.2% 0.035 33.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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