#DEF4B3

Closest named color: Light Khaki (#E6F2A2). oklch(93.5% 0.088 123.3), rgb(222, 244, 179).

Aa

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

About this color

#DEF4B3 is a very light, moderately saturated yellow. In OKLCH its lightness is 94%, its chroma 0.088 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.020 away. Black text reads best on it, at 17.69:1.

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

Values

HEX#DEF4B3
RGBrgb(222, 244, 179)
HSLhsl(80, 75%, 83%)
OKLCHoklch(93.5% 0.088 123.3)

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 #DEF4B3 1.18:1 Fails Lc -10.6 Not readable
Black text on #DEF4B3 17.69:1 AAA Lc 94.5 Preferred for body text
#DEF4B3 text on white 1.18:1 Fails Lc 9.0 Not readable
#DEF4B3 text on black 17.69:1 AAA Lc -95.2 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)

    #DEF4B3

    oklch(93.5% 0.088 123.3)

  3. Step 200

    200

    #D1E1B3

    oklch(88.6% 0.063 123.3)

  4. Step 300

    300

    #B2CD7A

    oklch(80.9% 0.112 123.6)

  5. Step 400

    400

    #8CB100

    oklch(70.7% 0.174 123.3)

  6. Step 500

    500

    #789800

    oklch(63.2% 0.156 123.3)

  7. Step 600

    600

    #647F00

    oklch(55.5% 0.136 123.2)

  8. Step 700

    700

    #546B00

    oklch(49.1% 0.121 123.1)

  9. Step 800

    800

    #445800

    oklch(42.8% 0.106 123.5)

  10. Step 900

    900

    #384900

    oklch(37.7% 0.093 123.4)

  11. Step 950

    950

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#DEF4B3 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)#FCECAF0.042
Deuteranopia (no green cones)#F9EBB60.042
Tritanopia (no blue cones)#E3EEE30.071
Achromatopsia (no color)#ECECEC0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #DEF4B3

    #DEF4B3

    oklch(93.5% 0.088 123.3)

  • #EEE4FF

    #EEE4FF

    oklch(93.5% 0.038 302.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DEF4B3

    #DEF4B3

    oklch(93.5% 0.088 123.3)

  • #FDE9A6

    #FDE9A6

    oklch(93.5% 0.087 93.4)

  • #BDFBCE

    #BDFBCE

    oklch(93.4% 0.087 153)

Open the analogous palette in the generator

Split complementary

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

  • #DEF4B3

    #DEF4B3

    oklch(93.5% 0.088 123.3)

  • #E2E9FF

    #E2E9FF

    oklch(93.5% 0.031 271.7)

  • #FFDEF8

    #FFDEF8

    oklch(93.5% 0.05 333.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DEF4B3

    #DEF4B3

    oklch(93.5% 0.088 123.3)

  • #D7EDFF

    #D7EDFF

    oklch(93.5% 0.034 242.7)

  • #FFE1E7

    #FFE1E7

    oklch(93.6% 0.034 4.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DEF4B3

    #DEF4B3

    oklch(93.5% 0.088 123.3)

  • #C2F4FF

    #C2F4FF

    oklch(93.6% 0.053 212.6)

  • #EEE4FF

    #EEE4FF

    oklch(93.5% 0.038 302.5)

  • #FFE2DC

    #FFE2DC

    oklch(93.5% 0.033 31.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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