#C0DE7C

Closest named color: Greenish Beige (#C9D179). oklch(85.7% 0.129 123.1), rgb(192, 222, 124).

Aa

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

About this color

#C0DE7C is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.129 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.035 away. Black text reads best on it, at 13.98:1.

Hue familyYellows
Lightnesslight (86%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.98:1
White text1.50:1

Values

HEX#C0DE7C
RGBrgb(192, 222, 124)
HSLhsl(78, 60%, 68%)
OKLCHoklch(85.7% 0.129 123.1)

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 #C0DE7C 1.50:1 Fails Lc -26.6 Dividers and decoration only
Black text on #C0DE7C 13.98:1 AAA Lc 80.3 Fine for body text
#C0DE7C text on white 1.50:1 Fails Lc 23.4 Dividers and decoration only
#C0DE7C text on black 13.98:1 AAA Lc -79.8 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)

    #C0DE7C

    oklch(85.7% 0.129 123.1)

  4. Step 300

    300

    #ADD14A

    oklch(80.9% 0.165 122.9)

  5. Step 400

    400

    #8DB100

    oklch(70.8% 0.174 123)

  6. Step 500

    500

    #789700

    oklch(63% 0.154 123)

  7. Step 600

    600

    #657F00

    oklch(55.6% 0.136 122.8)

  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

#C0DE7C 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)#E8D3740.057
Deuteranopia (no green cones)#E4D3810.056
Tritanopia (no blue cones)#C7D5C70.107
Achromatopsia (no color)#D3D3D30.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #C0DE7C

    #C0DE7C

    oklch(85.7% 0.129 123.1)

  • #DBC3FF

    #DBC3FF

    oklch(85.7% 0.086 302.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C0DE7C

    #C0DE7C

    oklch(85.7% 0.129 123.1)

  • #EDCE65

    #EDCE65

    oklch(85.7% 0.129 93.1)

  • #8AE9A8

    #8AE9A8

    oklch(85.8% 0.129 153)

Open the analogous palette in the generator

Split complementary

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

  • #C0DE7C

    #C0DE7C

    oklch(85.7% 0.129 123.1)

  • #C0CEFF

    #C0CEFF

    oklch(85.7% 0.07 272.4)

  • #FFB3F1

    #FFB3F1

    oklch(85.7% 0.118 333.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C0DE7C

    #C0DE7C

    oklch(85.7% 0.129 123.1)

  • #A4D7FF

    #A4D7FF

    oklch(85.8% 0.077 242.4)

  • #FFBACB

    #FFBACB

    oklch(85.7% 0.082 2.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C0DE7C

    #C0DE7C

    oklch(85.7% 0.129 123.1)

  • #60E5FF

    #60E5FF

    oklch(85.8% 0.12 212.7)

  • #DBC3FF

    #DBC3FF

    oklch(85.7% 0.086 302.9)

  • #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 #C0DE7C, closest first.

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

Similar named colors

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

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