#C0DF7C

Closest named color: Greenish Beige (#C9D179). oklch(85.9% 0.13 123.4), rgb(192, 223, 124).

Aa

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

About this color

#C0DF7C is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.130 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.037 away. Black text reads best on it, at 14.08:1.

Hue familyYellows
Lightnesslight (86%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text14.08:1
White text1.49:1

Values

HEX#C0DF7C
RGBrgb(192, 223, 124)
HSLhsl(79, 61%, 68%)
OKLCHoklch(85.9% 0.13 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 #C0DF7C 1.49:1 Fails Lc -26.1 Dividers and decoration only
Black text on #C0DF7C 14.08:1 AAA Lc 80.7 Fine for body text
#C0DF7C text on white 1.49:1 Fails Lc 23.0 Dividers and decoration only
#C0DF7C text on black 14.08:1 AAA Lc -80.2 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

    #F2F8E8

    oklch(97% 0.022 123.6)

  2. Step 100

    100

    #E3F0CD

    oklch(93.6% 0.048 123.9)

  3. Step 200

    200 (this color)

    #C0DF7C

    oklch(85.9% 0.13 123.4)

  4. Step 300

    300

    #ACD248

    oklch(81% 0.168 123.4)

  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

    #546B00

    oklch(49.1% 0.121 123.1)

  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

#C0DF7C 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)#E9D4740.058
Deuteranopia (no green cones)#E5D3810.059
Tritanopia (no blue cones)#C7D6C70.106
Achromatopsia (no color)#D3D3D30.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #C0DF7C

    #C0DF7C

    oklch(85.9% 0.13 123.4)

  • #DCC4FF

    #DCC4FF

    oklch(86% 0.084 303.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C0DF7C

    #C0DF7C

    oklch(85.9% 0.13 123.4)

  • #EECF64

    #EECF64

    oklch(86% 0.131 93.3)

  • #89EAA8

    #89EAA8

    oklch(86% 0.131 153.1)

Open the analogous palette in the generator

Split complementary

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

  • #C0DF7C

    #C0DF7C

    oklch(85.9% 0.13 123.4)

  • #C2CEFF

    #C2CEFF

    oklch(85.9% 0.07 274.1)

  • #FFB4F1

    #FFB4F1

    oklch(85.9% 0.116 333.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C0DF7C

    #C0DF7C

    oklch(85.9% 0.13 123.4)

  • #A6D7FF

    #A6D7FF

    oklch(85.9% 0.076 243.4)

  • #FFBBCB

    #FFBBCB

    oklch(85.9% 0.081 3.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C0DF7C

    #C0DF7C

    oklch(85.9% 0.13 123.4)

  • #65E5FF

    #65E5FF

    oklch(86% 0.118 213.2)

  • #DCC4FF

    #DCC4FF

    oklch(86% 0.084 303.2)

  • #FFBFB0

    #FFBFB0

    oklch(85.9% 0.077 33.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #C0DF7C.

Similar named colors

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

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