#DEF4AF

Closest named color: Light Khaki (#E6F2A2). oklch(93.4% 0.092 122.5), rgb(222, 244, 175).

Aa

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

About this color

#DEF4AF is a very light, moderately saturated yellow. In OKLCH its lightness is 93%, its chroma 0.092 and its hue 123°. 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.66:1.

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

Values

HEX#DEF4AF
RGBrgb(222, 244, 175)
HSLhsl(79, 76%, 82%)
OKLCHoklch(93.4% 0.092 122.5)

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 #DEF4AF 1.18:1 Fails Lc -10.7 Not readable
Black text on #DEF4AF 17.66:1 AAA Lc 94.4 Preferred for body text
#DEF4AF text on white 1.18:1 Fails Lc 9.1 Not readable
#DEF4AF text on black 17.66:1 AAA Lc -95.1 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)

    #DEF4AF

    oklch(93.4% 0.092 122.5)

  3. Step 200

    200

    #D1E1B1

    oklch(88.6% 0.066 122.7)

  4. Step 300

    300

    #B3CD74

    oklch(80.9% 0.119 122.4)

  5. Step 400

    400

    #8EB000

    oklch(70.6% 0.172 122.4)

  6. Step 500

    500

    #799700

    oklch(63% 0.154 122.6)

  7. Step 600

    600

    #657F00

    oklch(55.6% 0.136 122.8)

  8. Step 700

    700

    #556B00

    oklch(49.2% 0.12 122.6)

  9. Step 800

    800

    #455700

    oklch(42.6% 0.104 122.4)

  10. Step 900

    900

    #394900

    oklch(37.8% 0.092 122.7)

  11. Step 950

    950

    #212B00

    oklch(27% 0.066 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#DEF4AF 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)#FCECAB0.042
Deuteranopia (no green cones)#F9EBB20.042
Tritanopia (no blue cones)#E3EDE20.076
Achromatopsia (no color)#EBEBEB0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #DEF4AF

    #DEF4AF

    oklch(93.4% 0.092 122.5)

  • #EEE4FF

    #EEE4FF

    oklch(93.5% 0.038 302.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DEF4AF

    #DEF4AF

    oklch(93.4% 0.092 122.5)

  • #FFE8A2

    #FFE8A2

    oklch(93.4% 0.092 92)

  • #BBFCCC

    #BBFCCC

    oklch(93.5% 0.092 152.5)

Open the analogous palette in the generator

Split complementary

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

  • #DEF4AF

    #DEF4AF

    oklch(93.4% 0.092 122.5)

  • #E2E9FF

    #E2E9FF

    oklch(93.5% 0.031 271.7)

  • #FFDDF8

    #FFDDF8

    oklch(93.4% 0.051 333)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DEF4AF

    #DEF4AF

    oklch(93.4% 0.092 122.5)

  • #D6EDFF

    #D6EDFF

    oklch(93.5% 0.035 241.5)

  • #FFE0E7

    #FFE0E7

    oklch(93.4% 0.035 2.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DEF4AF

    #DEF4AF

    oklch(93.4% 0.092 122.5)

  • #C0F4FF

    #C0F4FF

    oklch(93.5% 0.055 212)

  • #EEE4FF

    #EEE4FF

    oklch(93.5% 0.038 302.5)

  • #FFE2DB

    #FFE2DB

    oklch(93.5% 0.034 33.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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