#DAF2AB

Closest named color: Light Khaki (#E6F2A2). oklch(92.7% 0.095 123.4), rgb(218, 242, 171).

Aa

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

About this color

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

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

Values

HEX#DAF2AB
RGBrgb(218, 242, 171)
HSLhsl(80, 73%, 81%)
OKLCHoklch(92.7% 0.095 123.4)

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 #DAF2AB 1.21:1 Fails Lc -12.3 Not readable
Black text on #DAF2AB 17.26:1 AAA Lc 93.0 Preferred for body text
#DAF2AB text on white 1.21:1 Fails Lc 10.6 Not readable
#DAF2AB text on black 17.26:1 AAA Lc -93.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)

    #DAF2AB

    oklch(92.7% 0.095 123.4)

  3. Step 200

    200

    #D0E1B0

    oklch(88.5% 0.068 123.3)

  4. Step 300

    300

    #B1CE72

    oklch(80.9% 0.123 123.5)

  5. Step 400

    400

    #8CB100

    oklch(70.7% 0.174 123.3)

  6. Step 500

    500

    #779800

    oklch(63.1% 0.156 123.6)

  7. Step 600

    600

    #647F00

    oklch(55.5% 0.136 123.2)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  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

#DAF2AB 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)#FAEAA60.044
Deuteranopia (no green cones)#F7E9AE0.044
Tritanopia (no blue cones)#DFEBDF0.077
Achromatopsia (no color)#E9E9E90.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #DAF2AB

    #DAF2AB

    oklch(92.7% 0.095 123.4)

  • #ECE0FF

    #ECE0FF

    oklch(92.6% 0.043 303.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DAF2AB

    #DAF2AB

    oklch(92.7% 0.095 123.4)

  • #FCE69C

    #FCE69C

    oklch(92.6% 0.096 93.5)

  • #B5FAC9

    #B5FAC9

    oklch(92.6% 0.096 153.3)

Open the analogous palette in the generator

Split complementary

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

  • #DAF2AB

    #DAF2AB

    oklch(92.7% 0.095 123.4)

  • #DFE6FF

    #DFE6FF

    oklch(92.7% 0.035 273.3)

  • #FFD9F7

    #FFD9F7

    oklch(92.6% 0.057 333.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DAF2AB

    #DAF2AB

    oklch(92.7% 0.095 123.4)

  • #D2EAFF

    #D2EAFF

    oklch(92.6% 0.038 244.6)

  • #FFDCE4

    #FFDCE4

    oklch(92.6% 0.04 2.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DAF2AB

    #DAF2AB

    oklch(92.7% 0.095 123.4)

  • #B9F2FF

    #B9F2FF

    oklch(92.7% 0.06 213.2)

  • #ECE0FF

    #ECE0FF

    oklch(92.6% 0.043 303.1)

  • #FFDED7

    #FFDED7

    oklch(92.6% 0.038 31.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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