#CAB987

Closest named color: Very Light Brown (#D3B683). oklch(78.8% 0.069 91.5), rgb(202, 185, 135).

Aa

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

About this color

#CAB987 is a light, muted yellow. In OKLCH its lightness is 79%, its chroma 0.069 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Very Light Brown (#D3B683), ΔE 0.014 away. Black text reads best on it, at 10.80:1.

Hue familyYellows
Lightnesslight (79%)
Chromamuted (0.069)
Temperaturewarm
Nearest nameVery Light Brown (#D3B683)
Black text10.80:1
White text1.94:1

Values

HEX#CAB987
RGBrgb(202, 185, 135)
HSLhsl(45, 39%, 66%)
OKLCHoklch(78.8% 0.069 91.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 #CAB987 1.94:1 Fails Lc -41.7 Non-text elements, placeholder text
Black text on #CAB987 10.80:1 AAA Lc 66.6 Content text, not long reading
#CAB987 text on white 1.94:1 Fails Lc 37.3 Non-text elements, placeholder text
#CAB987 text on black 10.80:1 AAA Lc -65.1 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

    #F8F5EF

    oklch(97.1% 0.009 84.6)

  2. Step 100

    100

    #EFEADB

    oklch(93.7% 0.021 91.6)

  3. Step 200

    200

    #E2D9BD

    oklch(88.5% 0.039 92.3)

  4. Step 300

    300 (this color)

    #CAB987

    oklch(78.8% 0.069 91.5)

  5. Step 400

    400

    #BA9E48

    oklch(70.7% 0.11 91.3)

  6. Step 500

    500

    #A68600

    oklch(63.2% 0.129 91.9)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #765E00

    oklch(49.2% 0.101 91.4)

  9. Step 800

    800

    #614D00

    oklch(42.9% 0.088 91.6)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#CAB987 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)#C4B7840.011
Deuteranopia (no green cones)#C8BC890.008
Tritanopia (no blue cones)#D4B1AC0.063
Achromatopsia (no color)#BABABA0.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAB987

    #CAB987

    oklch(78.8% 0.069 91.5)

  • #AAB8E7

    #AAB8E7

    oklch(78.8% 0.069 271.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAB987

    #CAB987

    oklch(78.8% 0.069 91.5)

  • #DBB08D

    #DBB08D

    oklch(78.7% 0.069 60.7)

  • #B3C190

    #B3C190

    oklch(78.8% 0.068 120.9)

Open the analogous palette in the generator

Split complementary

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

  • #CAB987

    #CAB987

    oklch(78.8% 0.069 91.5)

  • #93C0E3

    #93C0E3

    oklch(78.8% 0.069 242.1)

  • #C1B0E0

    #C1B0E0

    oklch(78.8% 0.07 301)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAB987

    #CAB987

    oklch(78.8% 0.069 91.5)

  • #85C6D3

    #85C6D3

    oklch(78.7% 0.068 211.5)

  • #D5AACE

    #D5AACE

    oklch(78.8% 0.069 331.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAB987

    #CAB987

    oklch(78.8% 0.069 91.5)

  • #87C9BD

    #87C9BD

    oklch(78.8% 0.069 181.8)

  • #AAB8E7

    #AAB8E7

    oklch(78.8% 0.069 271.8)

  • #E0A8B7

    #E0A8B7

    oklch(78.8% 0.068 1.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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