#C5B809

Closest named color: Olive Yellow (#C2B709). oklch(76.9% 0.161 104.4), rgb(197, 184, 9).

Aa

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

About this color

#C5B809 is a medium-light, vivid yellow. In OKLCH its lightness is 77%, its chroma 0.161 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.005 away. Black text reads best on it, at 10.23:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromavivid (0.161)
Temperaturewarm
Nearest nameOlive Yellow (#C2B709)
Black text10.23:1
White text2.05:1

Values

HEX#C5B809
RGBrgb(197, 184, 9)
HSLhsl(56, 91%, 40%)
OKLCHoklch(76.9% 0.161 104.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 #C5B809 2.05:1 Fails Lc -44.3 Non-text elements, placeholder text
Black text on #C5B809 10.23:1 AAA Lc 64.1 Content text, not long reading
#C5B809 text on white 2.05:1 Fails Lc 39.8 Non-text elements, placeholder text
#C5B809 text on black 10.23:1 AAA Lc -62.5 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

    #F7F7E6

    oklch(97.2% 0.022 106.8)

  2. Step 100

    100

    #EEECC9

    oklch(93.6% 0.046 104.6)

  3. Step 200

    200

    #E2DD97

    oklch(88.5% 0.09 104.6)

  4. Step 300

    300 (this color)

    #C5B809

    oklch(76.9% 0.161 104.4)

  5. Step 400

    400

    #B0A400

    oklch(70.6% 0.149 104.3)

  6. Step 500

    500

    #978D00

    oklch(63.2% 0.134 104.6)

  7. Step 600

    600

    #7F7600

    oklch(55.6% 0.118 104.3)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2B2700

    oklch(26.9% 0.057 103.7)

Export this scale for Tailwind in the Tailwind colors tool

#C5B809 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)#CAB1000.019
Deuteranopia (no green cones)#CEB8230.017
Tritanopia (no blue cones)#D5AA9D0.149
Achromatopsia (no color)#B5B5B50.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5B809

    #C5B809

    oklch(76.9% 0.161 104.4)

  • #ABA9FF

    #ABA9FF

    oklch(77% 0.122 284.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5B809

    #C5B809

    oklch(76.9% 0.161 104.4)

  • #EFA209

    #EFA209

    oklch(76.9% 0.161 74.6)

  • #87CA59

    #87CA59

    oklch(77% 0.161 134.3)

Open the analogous palette in the generator

Split complementary

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

  • #C5B809

    #C5B809

    oklch(76.9% 0.161 104.4)

  • #7DB7FF

    #7DB7FF

    oklch(76.8% 0.12 254.4)

  • #D992FB

    #D992FB

    oklch(76.9% 0.162 314.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5B809

    #C5B809

    oklch(76.9% 0.161 104.4)

  • #00C6F8

    #00C6F8

    oklch(76.8% 0.145 224.5)

  • #FA86CC

    #FA86CC

    oklch(76.8% 0.162 344.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5B809

    #C5B809

    oklch(76.9% 0.161 104.4)

  • #00CDCD

    #00CDCD

    oklch(76.8% 0.131 194.8)

  • #ABA9FF

    #ABA9FF

    oklch(77% 0.122 284.2)

  • #FF8D98

    #FF8D98

    oklch(76.9% 0.138 14.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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