#CAB474

Closest named color: Sandstone (#C9AE74). oklch(77.4% 0.087 91.2), rgb(202, 180, 116).

Aa

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

About this color

#CAB474 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 77%, its chroma 0.087 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Sandstone (#C9AE74), ΔE 0.016 away. Black text reads best on it, at 10.29:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromamoderately saturated (0.087)
Temperaturewarm
Nearest nameSandstone (#C9AE74)
Black text10.29:1
White text2.04:1

Values

HEX#CAB474
RGBrgb(202, 180, 116)
HSLhsl(45, 45%, 62%)
OKLCHoklch(77.4% 0.087 91.2)

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 #CAB474 2.04:1 Fails Lc -44.2 Non-text elements, placeholder text
Black text on #CAB474 10.29:1 AAA Lc 64.3 Content text, not long reading
#CAB474 text on white 2.04:1 Fails Lc 39.7 Non-text elements, placeholder text
#CAB474 text on black 10.29: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

    #F8F5ED

    oklch(97% 0.011 89.7)

  2. Step 100

    100

    #F0EAD7

    oklch(93.7% 0.026 92.4)

  3. Step 200

    200

    #E5D9B6

    oklch(88.6% 0.048 91.3)

  4. Step 300

    300 (this color)

    #CAB474

    oklch(77.4% 0.087 91.2)

  5. Step 400

    400

    #C19C1A

    oklch(70.7% 0.139 90.8)

  6. Step 500

    500

    #A68500

    oklch(63% 0.129 91.2)

  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

    #614C00

    oklch(42.6% 0.087 90.4)

  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

#CAB474 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)#C1B26F0.016
Deuteranopia (no green cones)#C7B8760.011
Tritanopia (no blue cones)#D6AAA40.079
Achromatopsia (no color)#B5B5B50.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAB474

    #CAB474

    oklch(77.4% 0.087 91.2)

  • #A1B3EE

    #A1B3EE

    oklch(77.4% 0.087 271.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAB474

    #CAB474

    oklch(77.4% 0.087 91.2)

  • #DEA97C

    #DEA97C

    oklch(77.4% 0.086 61.4)

  • #ADBF80

    #ADBF80

    oklch(77.5% 0.087 121.4)

Open the analogous palette in the generator

Split complementary

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

  • #CAB474

    #CAB474

    oklch(77.4% 0.087 91.2)

  • #82BDE8

    #82BDE8

    oklch(77.4% 0.087 240.9)

  • #BFA9E5

    #BFA9E5

    oklch(77.5% 0.087 301.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAB474

    #CAB474

    oklch(77.4% 0.087 91.2)

  • #6EC5D5

    #6EC5D5

    oklch(77.5% 0.087 210.8)

  • #D6A2CF

    #D6A2CF

    oklch(77.5% 0.085 331)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAB474

    #CAB474

    oklch(77.4% 0.087 91.2)

  • #72C8B9

    #72C8B9

    oklch(77.4% 0.087 181.4)

  • #A1B3EE

    #A1B3EE

    oklch(77.4% 0.087 271.2)

  • #E59FB2

    #E59FB2

    oklch(77.5% 0.086 1.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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