#C5BB22

Closest named color: Olive Yellow (#C2B709). oklch(77.6% 0.157 105.4), rgb(197, 187, 34).

Aa

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

About this color

#C5BB22 is a medium-light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.157 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.013 away. Black text reads best on it, at 10.50:1.

Hue familyYellows
Lightnessmedium-light (78%)
Chromavivid (0.157)
Temperaturewarm
Nearest nameOlive Yellow (#C2B709)
Black text10.50:1
White text1.99:1

Values

HEX#C5BB22
RGBrgb(197, 187, 34)
HSLhsl(56, 71%, 45%)
OKLCHoklch(77.6% 0.157 105.4)

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 #C5BB22 1.99:1 Fails Lc -43.0 Non-text elements, placeholder text
Black text on #C5BB22 10.50:1 AAA Lc 65.4 Content text, not long reading
#C5BB22 text on white 1.99:1 Fails Lc 38.5 Non-text elements, placeholder text
#C5BB22 text on black 10.50:1 AAA Lc -63.8 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

    #F7F7E7

    oklch(97.2% 0.021 106.8)

  2. Step 100

    100

    #EEECCA

    oklch(93.6% 0.045 104.5)

  3. Step 200

    200

    #E1DD99

    oklch(88.5% 0.087 105.2)

  4. Step 300

    300 (this color)

    #C5BB22

    oklch(77.6% 0.157 105.4)

  5. Step 400

    400

    #AEA500

    oklch(70.7% 0.151 105.7)

  6. Step 500

    500

    #968D00

    oklch(63.1% 0.134 105.1)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  8. Step 700

    700

    #696300

    oklch(49% 0.104 105.5)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  10. Step 900

    900

    #484300

    oklch(37.6% 0.08 104.8)

  11. Step 950

    950

    #2B2800

    oklch(27.1% 0.058 105.3)

Export this scale for Tailwind in the Tailwind colors tool

#C5BB22 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)#CCB4000.019
Deuteranopia (no green cones)#D0BA310.020
Tritanopia (no blue cones)#D4AEA00.143
Achromatopsia (no color)#B7B7B70.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5BB22

    #C5BB22

    oklch(77.6% 0.157 105.4)

  • #AFABFF

    #AFABFF

    oklch(77.7% 0.119 285.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5BB22

    #C5BB22

    oklch(77.6% 0.157 105.4)

  • #EFA61D

    #EFA61D

    oklch(77.7% 0.157 75.8)

  • #88CC61

    #88CC61

    oklch(77.6% 0.157 135.4)

Open the analogous palette in the generator

Split complementary

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

  • #C5BB22

    #C5BB22

    oklch(77.6% 0.157 105.4)

  • #83B9FF

    #83B9FF

    oklch(77.6% 0.116 255.3)

  • #DC95FA

    #DC95FA

    oklch(77.6% 0.157 315.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5BB22

    #C5BB22

    oklch(77.6% 0.157 105.4)

  • #00C8FD

    #00C8FD

    oklch(77.5% 0.148 225.7)

  • #FC8ACC

    #FC8ACC

    oklch(77.7% 0.157 345.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5BB22

    #C5BB22

    oklch(77.6% 0.157 105.4)

  • #00D0D1

    #00D0D1

    oklch(77.7% 0.132 195.4)

  • #AFABFF

    #AFABFF

    oklch(77.7% 0.119 285.5)

  • #FF919A

    #FF919A

    oklch(77.6% 0.133 15.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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