#DEF3AF

Closest named color: Light Khaki (#E6F2A2). oklch(93.2% 0.091 122.1), rgb(222, 243, 175).

Aa

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

About this color

#DEF3AF is a very light, moderately saturated yellow. In OKLCH its lightness is 93%, its chroma 0.091 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.016 away. Black text reads best on it, at 17.54:1.

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

Values

HEX#DEF3AF
RGBrgb(222, 243, 175)
HSLhsl(79, 74%, 82%)
OKLCHoklch(93.2% 0.091 122.1)

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 #DEF3AF 1.19:1 Fails Lc -11.2 Not readable
Black text on #DEF3AF 17.54:1 AAA Lc 94.0 Preferred for body text
#DEF3AF text on white 1.19:1 Fails Lc 9.6 Not readable
#DEF3AF text on black 17.54:1 AAA Lc -94.6 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)

    #DEF3AF

    oklch(93.2% 0.091 122.1)

  3. Step 200

    200

    #D1E1B1

    oklch(88.6% 0.066 122.7)

  4. Step 300

    300

    #B4CD75

    oklch(81% 0.117 122)

  5. Step 400

    400

    #8FB000

    oklch(70.7% 0.172 122.1)

  6. Step 500

    500

    #7A9700

    oklch(63.1% 0.154 122.2)

  7. Step 600

    600

    #667F00

    oklch(55.6% 0.135 122.3)

  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

    #3A4900

    oklch(37.9% 0.092 122)

  11. Step 950

    950

    #212B00

    oklch(27% 0.066 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#DEF3AF 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)#FBEBAB0.041
Deuteranopia (no green cones)#F8EBB20.040
Tritanopia (no blue cones)#E3ECE10.074
Achromatopsia (no color)#EBEBEB0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #DEF3AF

    #DEF3AF

    oklch(93.2% 0.091 122.1)

  • #EDE3FF

    #EDE3FF

    oklch(93.2% 0.039 301.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DEF3AF

    #DEF3AF

    oklch(93.2% 0.091 122.1)

  • #FEE8A2

    #FEE8A2

    oklch(93.3% 0.091 92.7)

  • #BBFBCB

    #BBFBCB

    oklch(93.3% 0.091 152.1)

Open the analogous palette in the generator

Split complementary

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

  • #DEF3AF

    #DEF3AF

    oklch(93.2% 0.091 122.1)

  • #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.

  • #DEF3AF

    #DEF3AF

    oklch(93.2% 0.091 122.1)

  • #D5ECFF

    #D5ECFF

    oklch(93.2% 0.036 243)

  • #FFDFE7

    #FFDFE7

    oklch(93.2% 0.037 1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DEF3AF

    #DEF3AF

    oklch(93.2% 0.091 122.1)

  • #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 #DEF3AF, closest first.

Similar named colors

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

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