#C5B835

Closest named color: Olive Yellow (#C2B709). oklch(77.1% 0.145 103.5), rgb(197, 184, 53).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (77%)
Chromavivid (0.145)
Temperaturewarm
Nearest nameOlive Yellow (#C2B709)
Black text10.28:1
White text2.04:1

Values

HEX#C5B835
RGBrgb(197, 184, 53)
HSLhsl(55, 58%, 49%)
OKLCHoklch(77.1% 0.145 103.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 #C5B835 2.04:1 Fails Lc -44.2 Non-text elements, placeholder text
Black text on #C5B835 10.28:1 AAA Lc 64.3 Content text, not long reading
#C5B835 text on white 2.04:1 Fails Lc 39.6 Non-text elements, placeholder text
#C5B835 text on black 10.28:1 AAA Lc -62.7 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

    #F7F6E8

    oklch(97% 0.018 103.4)

  2. Step 100

    100

    #EEECCC

    oklch(93.6% 0.042 104.2)

  3. Step 200

    200

    #E2DC9E

    oklch(88.5% 0.08 103.2)

  4. Step 300

    300 (this color)

    #C5B835

    oklch(77.1% 0.145 103.5)

  5. Step 400

    400

    #B1A400

    oklch(70.7% 0.149 103.9)

  6. Step 500

    500

    #988C00

    oklch(63.1% 0.133 103.5)

  7. Step 600

    600

    #807600

    oklch(55.7% 0.117 103.6)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #585100

    oklch(42.8% 0.09 103.8)

  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

#C5B835 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)#C9B21D0.016
Deuteranopia (no green cones)#CDB83E0.014
Tritanopia (no blue cones)#D4AB9F0.134
Achromatopsia (no color)#B5B5B50.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5B835

    #C5B835

    oklch(77.1% 0.145 103.5)

  • #AAAAFF

    #AAAAFF

    oklch(77.1% 0.121 283.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5B835

    #C5B835

    oklch(77.1% 0.145 103.5)

  • #EBA436

    #EBA436

    oklch(77% 0.145 73.5)

  • #8EC864

    #8EC864

    oklch(77% 0.145 133.6)

Open the analogous palette in the generator

Split complementary

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

  • #C5B835

    #C5B835

    oklch(77.1% 0.145 103.5)

  • #7DB8FF

    #7DB8FF

    oklch(77.1% 0.12 253.7)

  • #D597F5

    #D597F5

    oklch(77% 0.145 313.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5B835

    #C5B835

    oklch(77.1% 0.145 103.5)

  • #00C7F7

    #00C7F7

    oklch(77% 0.144 223.4)

  • #F48DCC

    #F48DCC

    oklch(77.1% 0.145 343.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5B835

    #C5B835

    oklch(77.1% 0.145 103.5)

  • #00CECC

    #00CECC

    oklch(77% 0.132 193.5)

  • #AAAAFF

    #AAAAFF

    oklch(77.1% 0.121 283.2)

  • #FF8E9B

    #FF8E9B

    oklch(77.2% 0.137 13.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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