#C5DF97

Closest named color: Light Grey Green (#B7E1A1). oklch(86.7% 0.098 124.5), rgb(197, 223, 151).

Aa

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

About this color

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

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

Values

HEX#C5DF97
RGBrgb(197, 223, 151)
HSLhsl(82, 53%, 73%)
OKLCHoklch(86.7% 0.098 124.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 #C5DF97 1.46:1 Fails Lc -24.9 Dividers and decoration only
Black text on #C5DF97 14.37:1 AAA Lc 81.9 Fine for body text
#C5DF97 text on white 1.46:1 Fails Lc 21.9 Dividers and decoration only
#C5DF97 text on black 14.37:1 AAA Lc -81.4 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

    #E4EFD4

    oklch(93.7% 0.038 125.2)

  3. Step 200

    200 (this color)

    #C5DF97

    oklch(86.7% 0.098 124.5)

  4. Step 300

    300

    #AFCF70

    oklch(81% 0.127 124.5)

  5. Step 400

    400

    #89B200

    oklch(70.8% 0.177 124.5)

  6. Step 500

    500

    #759800

    oklch(63% 0.157 124.4)

  7. Step 600

    600

    #628000

    oklch(55.6% 0.139 124.4)

  8. Step 700

    700

    #526C00

    oklch(49.2% 0.123 124.5)

  9. Step 800

    800

    #425800

    oklch(42.6% 0.107 124.6)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#C5DF97 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)#E7D6920.048
Deuteranopia (no green cones)#E3D59A0.047
Tritanopia (no blue cones)#CAD8CC0.079
Achromatopsia (no color)#D5D5D50.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5DF97

    #C5DF97

    oklch(86.7% 0.098 124.5)

  • #DFC7FF

    #DFC7FF

    oklch(86.8% 0.08 304.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5DF97

    #C5DF97

    oklch(86.7% 0.098 124.5)

  • #E8D387

    #E8D387

    oklch(86.7% 0.098 94.5)

  • #9FE7B7

    #9FE7B7

    oklch(86.8% 0.098 154.7)

Open the analogous palette in the generator

Split complementary

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

  • #C5DF97

    #C5DF97

    oklch(86.7% 0.098 124.5)

  • #C6D1FF

    #C6D1FF

    oklch(86.8% 0.065 274.4)

  • #FCBBEE

    #FCBBEE

    oklch(86.7% 0.099 334.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5DF97

    #C5DF97

    oklch(86.7% 0.098 124.5)

  • #ADD9FF

    #ADD9FF

    oklch(86.7% 0.07 244.8)

  • #FFBFCD

    #FFBFCD

    oklch(86.7% 0.075 4.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5DF97

    #C5DF97

    oklch(86.7% 0.098 124.5)

  • #81E4FB

    #81E4FB

    oklch(86.6% 0.098 214.5)

  • #DFC7FF

    #DFC7FF

    oklch(86.8% 0.08 304.3)

  • #FFC3B4

    #FFC3B4

    oklch(86.7% 0.072 34.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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