#CAB371

Closest named color: Sandstone (#C9AE74). oklch(77.2% 0.089 90.9), rgb(202, 179, 113).

Aa

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

About this color

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

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

Values

HEX#CAB371
RGBrgb(202, 179, 113)
HSLhsl(44, 46%, 62%)
OKLCHoklch(77.2% 0.089 90.9)

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 #CAB371 2.05:1 Fails Lc -44.7 Non-text elements, placeholder text
Black text on #CAB371 10.19:1 AAA Lc 63.8 Content text, not long reading
#CAB371 text on white 2.05:1 Fails Lc 40.1 Non-text elements, placeholder text
#CAB371 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

    #E5D9B5

    oklch(88.6% 0.049 91.8)

  4. Step 300

    300 (this color)

    #CAB371

    oklch(77.2% 0.089 90.9)

  5. Step 400

    400

    #C29C0B

    oklch(70.7% 0.143 91)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  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

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#CAB371 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)#C1B16C0.016
Deuteranopia (no green cones)#C6B7730.011
Tritanopia (no blue cones)#D7A9A30.082
Achromatopsia (no color)#B5B5B50.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAB371

    #CAB371

    oklch(77.2% 0.089 90.9)

  • #9FB2EE

    #9FB2EE

    oklch(77.1% 0.089 270.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAB371

    #CAB371

    oklch(77.2% 0.089 90.9)

  • #DFA87A

    #DFA87A

    oklch(77.2% 0.089 60.8)

  • #ACBE7D

    #ACBE7D

    oklch(77.2% 0.089 121.1)

Open the analogous palette in the generator

Split complementary

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

  • #CAB371

    #CAB371

    oklch(77.2% 0.089 90.9)

  • #80BCE9

    #80BCE9

    oklch(77.1% 0.09 241.8)

  • #BEA8E5

    #BEA8E5

    oklch(77.2% 0.089 300.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAB371

    #CAB371

    oklch(77.2% 0.089 90.9)

  • #6AC4D5

    #6AC4D5

    oklch(77.1% 0.089 211.3)

  • #D6A0CF

    #D6A0CF

    oklch(77.1% 0.089 330.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAB371

    #CAB371

    oklch(77.2% 0.089 90.9)

  • #6FC8B8

    #6FC8B8

    oklch(77.3% 0.089 180.9)

  • #9FB2EE

    #9FB2EE

    oklch(77.1% 0.089 270.7)

  • #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 #CAB371, closest first.

Similar named colors

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

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