#CAB559

Closest named color: Dark Khaki (#BDB76B). oklch(77.2% 0.115 96.7), rgb(202, 181, 89).

Aa

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

About this color

#CAB559 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 77%, its chroma 0.115 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.023 away. Black text reads best on it, at 10.26:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromamoderately saturated (0.115)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text10.26:1
White text2.04:1

Values

HEX#CAB559
RGBrgb(202, 181, 89)
HSLhsl(49, 52%, 57%)
OKLCHoklch(77.2% 0.115 96.7)

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 #CAB559 2.04:1 Fails Lc -44.3 Non-text elements, placeholder text
Black text on #CAB559 10.26:1 AAA Lc 64.2 Content text, not long reading
#CAB559 text on white 2.04:1 Fails Lc 39.8 Non-text elements, placeholder text
#CAB559 text on black 10.26:1 AAA Lc -62.6 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

    #F8F6EA

    oklch(97.1% 0.016 99)

  2. Step 100

    100

    #F0EAD2

    oklch(93.5% 0.032 95.4)

  3. Step 200

    200

    #E5DAAA

    oklch(88.5% 0.064 96.7)

  4. Step 300

    300 (this color)

    #CAB559

    oklch(77.2% 0.115 96.7)

  5. Step 400

    400

    #BB9F00

    oklch(70.6% 0.145 96.4)

  6. Step 500

    500

    #A08800

    oklch(63% 0.13 96.6)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#CAB559 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)#C5B1500.015
Deuteranopia (no green cones)#CAB85D0.008
Tritanopia (no blue cones)#D8A9A00.106
Achromatopsia (no color)#B5B5B50.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAB559

    #CAB559

    oklch(77.2% 0.115 96.7)

  • #A2AEFE

    #A2AEFE

    oklch(77.2% 0.115 276.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAB559

    #CAB559

    oklch(77.2% 0.115 96.7)

  • #E6A661

    #E6A661

    oklch(77.2% 0.115 66.8)

  • #A2C370

    #A2C370

    oklch(77.4% 0.115 126.7)

Open the analogous palette in the generator

Split complementary

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

  • #CAB559

    #CAB559

    oklch(77.2% 0.115 96.7)

  • #75BCFA

    #75BCFA

    oklch(77.3% 0.115 246.3)

  • #C8A1EF

    #C8A1EF

    oklch(77.2% 0.116 306.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAB559

    #CAB559

    oklch(77.2% 0.115 96.7)

  • #4BC7E4

    #4BC7E4

    oklch(77.3% 0.115 216.3)

  • #E498D0

    #E498D0

    oklch(77.2% 0.115 336.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAB559

    #CAB559

    oklch(77.2% 0.115 96.7)

  • #48CDC1

    #48CDC1

    oklch(77.4% 0.115 186.6)

  • #A2AEFE

    #A2AEFE

    oklch(77.2% 0.115 276.8)

  • #F395A9

    #F395A9

    oklch(77.2% 0.115 6.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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