#DCE7AF

Closest named color: Tea Green (#CAE7B9). oklch(90.6% 0.074 116.9), rgb(220, 231, 175).

Aa

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

About this color

#DCE7AF is a very light, moderately saturated yellow. In OKLCH its lightness is 91%, its chroma 0.074 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tea Green (#CAE7B9), ΔE 0.024 away. Black text reads best on it, at 16.09:1.

Hue familyYellows
Lightnessvery light (91%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest nameTea Green (#CAE7B9)
Black text16.09:1
White text1.30:1

Values

HEX#DCE7AF
RGBrgb(220, 231, 175)
HSLhsl(72, 54%, 80%)
OKLCHoklch(90.6% 0.074 116.9)

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 #DCE7AF 1.30:1 Fails Lc -17.4 Dividers and decoration only
Black text on #DCE7AF 16.09:1 AAA Lc 88.5 Fine for body text
#DCE7AF text on white 1.30:1 Fails Lc 15.1 Dividers and decoration only
#DCE7AF text on black 16.09:1 AAA Lc -88.7 Fine 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 200.

  1. Step 50

    50

    #F5F7ED

    oklch(97.2% 0.013 115.8)

  2. Step 100

    100

    #E8EDD8

    oklch(93.7% 0.028 117.8)

  3. Step 200

    200 (this color)

    #DCE7AF

    oklch(90.6% 0.074 116.9)

  4. Step 300

    300

    #BCC981

    oklch(80.9% 0.096 116.9)

  5. Step 400

    400

    #9BAC23

    oklch(70.8% 0.152 116.9)

  6. Step 500

    500

    #849400

    oklch(63.2% 0.146 117.1)

  7. Step 600

    600

    #6F7C00

    oklch(55.6% 0.128 116.8)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4700

    oklch(37.7% 0.087 116.8)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#DCE7AF 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)#EFE1AB0.028
Deuteranopia (no green cones)#EEE2B10.027
Tritanopia (no blue cones)#E2E1D80.063
Achromatopsia (no color)#E1E1E10.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCE7AF

    #DCE7AF

    oklch(90.6% 0.074 116.9)

  • #E3D9FF

    #E3D9FF

    oklch(90.5% 0.052 297.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCE7AF

    #DCE7AF

    oklch(90.6% 0.074 116.9)

  • #F5DEA8

    #F5DEA8

    oklch(90.7% 0.074 87.6)

  • #C0EEC4

    #C0EEC4

    oklch(90.6% 0.074 147.3)

Open the analogous palette in the generator

Split complementary

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

  • #DCE7AF

    #DCE7AF

    oklch(90.6% 0.074 116.9)

  • #D2E0FF

    #D2E0FF

    oklch(90.6% 0.045 266.2)

  • #FBCFFA

    #FBCFFA

    oklch(90.5% 0.075 326.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCE7AF

    #DCE7AF

    oklch(90.6% 0.074 116.9)

  • #C0E6FF

    #C0E6FF

    oklch(90.6% 0.053 237)

  • #FFD2E0

    #FFD2E0

    oklch(90.6% 0.053 357.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCE7AF

    #DCE7AF

    oklch(90.6% 0.074 116.9)

  • #A5EFF9

    #A5EFF9

    oklch(90.7% 0.074 206.6)

  • #E3D9FF

    #E3D9FF

    oklch(90.5% 0.052 297.4)

  • #FFD4CF

    #FFD4CF

    oklch(90.5% 0.049 25.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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