#DCF1AF

Closest named color: Light Khaki (#E6F2A2). oklch(92.7% 0.089 122.5), rgb(220, 241, 175).

Aa

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

About this color

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

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

Values

HEX#DCF1AF
RGBrgb(220, 241, 175)
HSLhsl(79, 70%, 82%)
OKLCHoklch(92.7% 0.089 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 #DCF1AF 1.21:1 Fails Lc -12.5 Not readable
Black text on #DCF1AF 17.24:1 AAA Lc 92.9 Preferred for body text
#DCF1AF text on white 1.21:1 Fails Lc 10.7 Not readable
#DCF1AF text on black 17.24:1 AAA Lc -93.4 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)

    #DCF1AF

    oklch(92.7% 0.089 122.5)

  3. Step 200

    200

    #D1E0B2

    oklch(88.4% 0.063 122.4)

  4. Step 300

    300

    #B3CD78

    oklch(80.9% 0.114 122.9)

  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

    #667F00

    oklch(55.6% 0.135 122.3)

  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

#DCF1AF 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)#F9E9AB0.041
Deuteranopia (no green cones)#F6E9B20.040
Tritanopia (no blue cones)#E1EAE00.073
Achromatopsia (no color)#E9E9E90.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCF1AF

    #DCF1AF

    oklch(92.7% 0.089 122.5)

  • #ECE1FF

    #ECE1FF

    oklch(92.8% 0.042 302.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCF1AF

    #DCF1AF

    oklch(92.7% 0.089 122.5)

  • #FBE6A2

    #FBE6A2

    oklch(92.6% 0.089 92.9)

  • #BAF9CA

    #BAF9CA

    oklch(92.7% 0.09 152.2)

Open the analogous palette in the generator

Split complementary

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

  • #DCF1AF

    #DCF1AF

    oklch(92.7% 0.089 122.5)

  • #DEE6FF

    #DEE6FF

    oklch(92.6% 0.035 271.6)

  • #FFD9F8

    #FFD9F8

    oklch(92.6% 0.058 332.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCF1AF

    #DCF1AF

    oklch(92.7% 0.089 122.5)

  • #D1EBFF

    #D1EBFF

    oklch(92.7% 0.039 241)

  • #FFDCE4

    #FFDCE4

    oklch(92.6% 0.04 2.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCF1AF

    #DCF1AF

    oklch(92.7% 0.089 122.5)

  • #B8F2FF

    #B8F2FF

    oklch(92.6% 0.061 213)

  • #ECE1FF

    #ECE1FF

    oklch(92.8% 0.042 302.2)

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

Similar named colors

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

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