#C7DF97

Closest named color: Light Grey Green (#B7E1A1). oklch(86.9% 0.098 123.4), rgb(199, 223, 151).

Aa

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

About this color

#C7DF97 is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.098 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Grey Green (#B7E1A1), ΔE 0.020 away. Black text reads best on it, at 14.43:1.

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameLight Grey Green (#B7E1A1)
Black text14.43:1
White text1.45:1

Values

HEX#C7DF97
RGBrgb(199, 223, 151)
HSLhsl(80, 53%, 73%)
OKLCHoklch(86.9% 0.098 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 #C7DF97 1.45:1 Fails Lc -24.6 Dividers and decoration only
Black text on #C7DF97 14.43:1 AAA Lc 82.1 Fine for body text
#C7DF97 text on white 1.45:1 Fails Lc 21.6 Dividers and decoration only
#C7DF97 text on black 14.43:1 AAA Lc -81.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

    #F3F8EB

    oklch(97.2% 0.018 124)

  2. Step 100

    100

    #E5EED4

    oklch(93.5% 0.036 122.7)

  3. Step 200

    200 (this color)

    #C7DF97

    oklch(86.9% 0.098 123.4)

  4. Step 300

    300

    #B1CE70

    oklch(80.9% 0.125 123.3)

  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

#C7DF97 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)#E7D7920.045
Deuteranopia (no green cones)#E4D69A0.045
Tritanopia (no blue cones)#CCD8CC0.079
Achromatopsia (no color)#D6D6D60.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7DF97

    #C7DF97

    oklch(86.9% 0.098 123.4)

  • #DEC8FF

    #DEC8FF

    oklch(86.9% 0.078 303)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7DF97

    #C7DF97

    oklch(86.9% 0.098 123.4)

  • #E9D388

    #E9D388

    oklch(86.8% 0.098 93.6)

  • #A1E7B6

    #A1E7B6

    oklch(86.8% 0.098 153.5)

Open the analogous palette in the generator

Split complementary

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

  • #C7DF97

    #C7DF97

    oklch(86.9% 0.098 123.4)

  • #C6D2FF

    #C6D2FF

    oklch(87% 0.064 273.3)

  • #FCBCEF

    #FCBCEF

    oklch(86.9% 0.098 333.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7DF97

    #C7DF97

    oklch(86.9% 0.098 123.4)

  • #ADDAFF

    #ADDAFF

    oklch(86.9% 0.07 243.5)

  • #FFC0CF

    #FFC0CF

    oklch(86.9% 0.075 3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7DF97

    #C7DF97

    oklch(86.9% 0.098 123.4)

  • #82E5FA

    #82E5FA

    oklch(86.9% 0.097 213)

  • #DEC8FF

    #DEC8FF

    oklch(86.9% 0.078 303)

  • #FFC4B6

    #FFC4B6

    oklch(87% 0.071 33.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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