#C0DE81

Closest named color: Greenish Beige (#C9D179). oklch(85.8% 0.124 123.6), rgb(192, 222, 129).

Aa

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

About this color

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

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

Values

HEX#C0DE81
RGBrgb(192, 222, 129)
HSLhsl(79, 58%, 69%)
OKLCHoklch(85.8% 0.124 123.6)

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 #C0DE81 1.49:1 Fails Lc -26.5 Dividers and decoration only
Black text on #C0DE81 14.00:1 AAA Lc 80.4 Fine for body text
#C0DE81 text on white 1.49:1 Fails Lc 23.3 Dividers and decoration only
#C0DE81 text on black 14.00:1 AAA Lc -79.9 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

    #F2F8E9

    oklch(97.1% 0.021 124.7)

  2. Step 100

    100

    #E3F0CE

    oklch(93.7% 0.047 124.4)

  3. Step 200

    200 (this color)

    #C0DE81

    oklch(85.8% 0.124 123.6)

  4. Step 300

    300

    #ACD152

    oklch(80.9% 0.159 123.7)

  5. Step 400

    400

    #8BB100

    oklch(70.6% 0.175 123.7)

  6. Step 500

    500

    #779800

    oklch(63.1% 0.156 123.6)

  7. Step 600

    600

    #648000

    oklch(55.8% 0.138 123.5)

  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

#C0DE81 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)#E8D47A0.056
Deuteranopia (no green cones)#E4D3860.056
Tritanopia (no blue cones)#C6D6C70.100
Achromatopsia (no color)#D3D3D30.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #C0DE81

    #C0DE81

    oklch(85.8% 0.124 123.6)

  • #DCC3FF

    #DCC3FF

    oklch(85.8% 0.086 303.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C0DE81

    #C0DE81

    oklch(85.8% 0.124 123.6)

  • #EBCF6B

    #EBCF6B

    oklch(85.8% 0.124 94)

  • #8DE8AA

    #8DE8AA

    oklch(85.8% 0.124 153.3)

Open the analogous palette in the generator

Split complementary

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

  • #C0DE81

    #C0DE81

    oklch(85.8% 0.124 123.6)

  • #C1CEFF

    #C1CEFF

    oklch(85.8% 0.07 273.2)

  • #FFB3F0

    #FFB3F0

    oklch(85.7% 0.117 333.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C0DE81

    #C0DE81

    oklch(85.8% 0.124 123.6)

  • #A6D7FF

    #A6D7FF

    oklch(85.9% 0.076 243.4)

  • #FFBACA

    #FFBACA

    oklch(85.7% 0.082 3.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C0DE81

    #C0DE81

    oklch(85.8% 0.124 123.6)

  • #64E4FF

    #64E4FF

    oklch(85.7% 0.118 213.9)

  • #DCC3FF

    #DCC3FF

    oklch(85.8% 0.086 303.6)

  • #FFBEAF

    #FFBEAF

    oklch(85.7% 0.078 33.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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