#C0DB7B

Closest named color: Greenish Beige (#C9D179). oklch(85% 0.126 122), rgb(192, 219, 123).

Aa

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

About this color

#C0DB7B is a light, moderately saturated yellow. In OKLCH its lightness is 85%, its chroma 0.126 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.027 away. Black text reads best on it, at 13.65:1.

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.65:1
White text1.53:1

Values

HEX#C0DB7B
RGBrgb(192, 219, 123)
HSLhsl(77, 57%, 67%)
OKLCHoklch(85% 0.126 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 #C0DB7B 1.53:1 Fails Lc -28.1 Dividers and decoration only
Black text on #C0DB7B 13.65:1 AAA Lc 79.0 Fine for body text
#C0DB7B text on white 1.53:1 Fails Lc 24.8 Dividers and decoration only
#C0DB7B text on black 13.65:1 AAA Lc -78.3 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

    #F3F8E8

    oklch(97.1% 0.022 121)

  2. Step 100

    100

    #E4EFCD

    oklch(93.5% 0.046 121.9)

  3. Step 200

    200 (this color)

    #C0DB7B

    oklch(85% 0.126 122)

  4. Step 300

    300

    #AFD04C

    oklch(80.8% 0.161 122.1)

  5. Step 400

    400

    #8FB000

    oklch(70.7% 0.172 122.1)

  6. Step 500

    500

    #7B9700

    oklch(63.2% 0.153 121.9)

  7. Step 600

    600

    #677F00

    oklch(55.7% 0.135 121.9)

  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

#C0DB7B 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)#E5D1730.052
Deuteranopia (no green cones)#E2D0800.054
Tritanopia (no blue cones)#C7D2C40.104
Achromatopsia (no color)#D0D0D00.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #C0DB7B

    #C0DB7B

    oklch(85% 0.126 122)

  • #D8C1FF

    #D8C1FF

    oklch(85.1% 0.088 301.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C0DB7B

    #C0DB7B

    oklch(85% 0.126 122)

  • #EBCB66

    #EBCB66

    oklch(84.9% 0.126 92)

  • #8CE6A5

    #8CE6A5

    oklch(85.1% 0.126 151.9)

Open the analogous palette in the generator

Split complementary

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

  • #C0DB7B

    #C0DB7B

    oklch(85% 0.126 122)

  • #BDCCFF

    #BDCCFF

    oklch(85.1% 0.073 272)

  • #FEAFF2

    #FEAFF2

    oklch(85% 0.125 332.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C0DB7B

    #C0DB7B

    oklch(85% 0.126 122)

  • #9FD5FF

    #9FD5FF

    oklch(85% 0.081 242.3)

  • #FFB6C9

    #FFB6C9

    oklch(85% 0.088 2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C0DB7B

    #C0DB7B

    oklch(85% 0.126 122)

  • #53E3FD

    #53E3FD

    oklch(84.9% 0.126 211.9)

  • #D8C1FF

    #D8C1FF

    oklch(85.1% 0.088 301.5)

  • #FFBBAC

    #FFBBAC

    oklch(85.1% 0.082 32.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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