#CAB370

Closest named color: Sandstone (#C9AE74). oklch(77.2% 0.09 91.2), rgb(202, 179, 112).

Aa

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

About this color

#CAB370 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 77%, its chroma 0.090 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.19:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromamoderately saturated (0.090)
Temperaturewarm
Nearest nameSandstone (#C9AE74)
Black text10.19:1
White text2.06:1

Values

HEX#CAB370
RGBrgb(202, 179, 112)
HSLhsl(45, 46%, 62%)
OKLCHoklch(77.2% 0.09 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 #CAB370 2.06:1 Fails Lc -44.7 Non-text elements, placeholder text
Black text on #CAB370 10.19:1 AAA Lc 63.8 Content text, not long reading
#CAB370 text on white 2.06:1 Fails Lc 40.1 Non-text elements, placeholder text
#CAB370 text on black 10.19:1 AAA Lc -62.2 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

    #E5D9B4

    oklch(88.6% 0.051 92.2)

  4. Step 300

    300 (this color)

    #CAB370

    oklch(77.2% 0.09 91.2)

  5. Step 400

    400

    #C29C01

    oklch(70.7% 0.144 91.2)

  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

#CAB370 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)#C1B16B0.016
Deuteranopia (no green cones)#C7B7720.011
Tritanopia (no blue cones)#D7A9A20.082
Achromatopsia (no color)#B5B5B50.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAB370

    #CAB370

    oklch(77.2% 0.09 91.2)

  • #9FB2EF

    #9FB2EF

    oklch(77.1% 0.09 270.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAB370

    #CAB370

    oklch(77.2% 0.09 91.2)

  • #DFA879

    #DFA879

    oklch(77.2% 0.09 61.4)

  • #ACBE7C

    #ACBE7C

    oklch(77.2% 0.091 121)

Open the analogous palette in the generator

Split complementary

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

  • #CAB370

    #CAB370

    oklch(77.2% 0.09 91.2)

  • #7FBCE9

    #7FBCE9

    oklch(77.1% 0.09 241.3)

  • #BEA8E6

    #BEA8E6

    oklch(77.2% 0.09 300.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAB370

    #CAB370

    oklch(77.2% 0.09 91.2)

  • #69C4D5

    #69C4D5

    oklch(77% 0.09 211.1)

  • #D7A0CF

    #D7A0CF

    oklch(77.2% 0.09 331.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAB370

    #CAB370

    oklch(77.2% 0.09 91.2)

  • #6EC8B8

    #6EC8B8

    oklch(77.2% 0.09 181)

  • #9FB2EF

    #9FB2EF

    oklch(77.1% 0.09 270.8)

  • #E59DB1

    #E59DB1

    oklch(77.2% 0.089 1.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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