#C5D162

Closest named color: Greenish Beige (#C9D179). oklch(82.9% 0.136 114.5), rgb(197, 209, 98).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (83%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text12.67:1
White text1.65:1

Values

HEX#C5D162
RGBrgb(197, 209, 98)
HSLhsl(66, 55%, 60%)
OKLCHoklch(82.9% 0.136 114.5)

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 #C5D162 1.65:1 Fails Lc -32.6 Non-text elements, placeholder text
Black text on #C5D162 12.67:1 AAA Lc 74.9 Content text, not long reading
#C5D162 text on white 1.65:1 Fails Lc 28.9 Dividers and decoration only
#C5D162 text on black 12.67:1 AAA Lc -73.9 Content text, not long reading

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 300.

  1. Step 50

    50

    #F5F7E9

    oklch(97.1% 0.019 113.3)

  2. Step 100

    100

    #E9EDD0

    oklch(93.5% 0.038 113.5)

  3. Step 200

    200

    #D7E0A6

    oklch(88.6% 0.077 115.2)

  4. Step 300

    300 (this color)

    #C5D162

    oklch(82.9% 0.136 114.5)

  5. Step 400

    400

    #9FAB00

    oklch(70.7% 0.16 114.7)

  6. Step 500

    500

    #889200

    oklch(63% 0.142 114.5)

  7. Step 600

    600

    #727B00

    oklch(55.6% 0.126 114.8)

  8. Step 700

    700

    #606700

    oklch(49.1% 0.111 114.3)

  9. Step 800

    800

    #4E5400

    oklch(42.6% 0.096 114.4)

  10. Step 900

    900

    #414600

    oklch(37.7% 0.085 114.3)

  11. Step 950

    950

    #262900

    oklch(26.9% 0.06 113.9)

Export this scale for Tailwind in the Tailwind colors tool

#C5D162 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)#DEC8570.038
Deuteranopia (no green cones)#DDCA680.039
Tritanopia (no blue cones)#D0C6B80.120
Achromatopsia (no color)#C9C9C90.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5D162

    #C5D162

    oklch(82.9% 0.136 114.5)

  • #CABBFF

    #CABBFF

    oklch(82.8% 0.095 294.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5D162

    #C5D162

    oklch(82.9% 0.136 114.5)

  • #F0BF52

    #F0BF52

    oklch(82.9% 0.137 84.5)

  • #8DDE8E

    #8DDE8E

    oklch(82.9% 0.136 144.5)

Open the analogous palette in the generator

Split complementary

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

  • #C5D162

    #C5D162

    oklch(82.9% 0.136 114.5)

  • #ACC7FF

    #ACC7FF

    oklch(82.9% 0.084 264.6)

  • #F3A7F8

    #F3A7F8

    oklch(82.8% 0.137 324.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5D162

    #C5D162

    oklch(82.9% 0.136 114.5)

  • #82D2FF

    #82D2FF

    oklch(82.9% 0.101 234.5)

  • #FFA9CB

    #FFA9CB

    oklch(82.8% 0.109 354.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5D162

    #C5D162

    oklch(82.9% 0.136 114.5)

  • #26E0F0

    #26E0F0

    oklch(82.9% 0.136 204.4)

  • #CABBFF

    #CABBFF

    oklch(82.8% 0.095 294.3)

  • #FFAFA8

    #FFAFA8

    oklch(82.9% 0.095 24.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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