#C0DE70

Closest named color: Greenish Beige (#C9D179). oklch(85.5% 0.141 122), rgb(192, 222, 112).

Aa

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

About this color

#C0DE70 is a light, vivid yellow. In OKLCH its lightness is 86%, its chroma 0.141 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.040 away. Black text reads best on it, at 13.92:1.

Hue familyYellows
Lightnesslight (86%)
Chromavivid (0.141)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.92:1
White text1.50:1

Values

HEX#C0DE70
RGBrgb(192, 222, 112)
HSLhsl(76, 63%, 65%)
OKLCHoklch(85.5% 0.141 122)

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 #C0DE70 1.50:1 Fails Lc -26.8 Dividers and decoration only
Black text on #C0DE70 13.92:1 AAA Lc 80.1 Fine for body text
#C0DE70 text on white 1.50:1 Fails Lc 23.7 Dividers and decoration only
#C0DE70 text on black 13.92:1 AAA Lc -79.5 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

    #F2F8E7

    oklch(97% 0.023 122.7)

  2. Step 100

    100

    #E4F0CA

    oklch(93.6% 0.052 121.7)

  3. Step 200

    200 (this color)

    #C0DE70

    oklch(85.5% 0.141 122)

  4. Step 300

    300

    #AED231

    oklch(81% 0.181 121.9)

  5. Step 400

    400

    #8FB000

    oklch(70.7% 0.172 122.1)

  6. Step 500

    500

    #7A9700

    oklch(63.1% 0.154 122.2)

  7. Step 600

    600

    #667F00

    oklch(55.6% 0.135 122.3)

  8. Step 700

    700

    #566A00

    oklch(49% 0.118 121.7)

  9. Step 800

    800

    #465700

    oklch(42.7% 0.103 121.8)

  10. Step 900

    900

    #3A4900

    oklch(37.9% 0.092 122)

  11. Step 950

    950

    #212B00

    oklch(27% 0.066 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#C0DE70 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)#E9D3660.058
Deuteranopia (no green cones)#E5D2760.059
Tritanopia (no blue cones)#C8D5C50.117
Achromatopsia (no color)#D2D2D20.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #C0DE70

    #C0DE70

    oklch(85.5% 0.141 122)

  • #DAC3FF

    #DAC3FF

    oklch(85.6% 0.085 302.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C0DE70

    #C0DE70

    oklch(85.5% 0.141 122)

  • #F1CC56

    #F1CC56

    oklch(85.5% 0.141 91.7)

  • #82EAA1

    #82EAA1

    oklch(85.5% 0.142 152)

Open the analogous palette in the generator

Split complementary

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

  • #C0DE70

    #C0DE70

    oklch(85.5% 0.141 122)

  • #BFCDFF

    #BFCDFF

    oklch(85.5% 0.071 272.6)

  • #FFB1F3

    #FFB1F3

    oklch(85.5% 0.123 332.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C0DE70

    #C0DE70

    oklch(85.5% 0.141 122)

  • #A2D6FF

    #A2D6FF

    oklch(85.4% 0.079 242.6)

  • #FFB9CB

    #FFB9CB

    oklch(85.5% 0.084 2.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C0DE70

    #C0DE70

    oklch(85.5% 0.141 122)

  • #56E5FF

    #56E5FF

    oklch(85.5% 0.125 212)

  • #DAC3FF

    #DAC3FF

    oklch(85.6% 0.085 302.1)

  • #FFBDAF

    #FFBDAF

    oklch(85.5% 0.079 32.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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