#C0DE7D

Closest named color: Greenish Beige (#C9D179). oklch(85.7% 0.128 123.2), rgb(192, 222, 125).

Aa

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

About this color

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

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

Values

HEX#C0DE7D
RGBrgb(192, 222, 125)
HSLhsl(79, 60%, 68%)
OKLCHoklch(85.7% 0.128 123.2)

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

    #C0DE7D

    oklch(85.7% 0.128 123.2)

  4. Step 300

    300

    #ADD14B

    oklch(80.9% 0.164 123)

  5. Step 400

    400

    #8CB100

    oklch(70.7% 0.174 123.3)

  6. Step 500

    500

    #789800

    oklch(63.2% 0.156 123.3)

  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

#C0DE7D 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)#E8D4750.056
Deuteranopia (no green cones)#E4D3820.056
Tritanopia (no blue cones)#C7D5C70.106
Achromatopsia (no color)#D3D3D30.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #C0DE7D

    #C0DE7D

    oklch(85.7% 0.128 123.2)

  • #DBC3FF

    #DBC3FF

    oklch(85.7% 0.086 302.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C0DE7D

    #C0DE7D

    oklch(85.7% 0.128 123.2)

  • #EDCE66

    #EDCE66

    oklch(85.7% 0.128 92.9)

  • #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°).

  • #C0DE7D

    #C0DE7D

    oklch(85.7% 0.128 123.2)

  • #C1CEFF

    #C1CEFF

    oklch(85.8% 0.07 273.2)

  • #FFB3F1

    #FFB3F1

    oklch(85.7% 0.118 333.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C0DE7D

    #C0DE7D

    oklch(85.7% 0.128 123.2)

  • #A5D7FF

    #A5D7FF

    oklch(85.8% 0.076 242.9)

  • #FFBACB

    #FFBACB

    oklch(85.7% 0.082 2.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C0DE7D

    #C0DE7D

    oklch(85.7% 0.128 123.2)

  • #60E4FF

    #60E4FF

    oklch(85.6% 0.12 213.5)

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

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

Similar named colors

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

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