#CAB971

Closest named color: Dark Khaki (#BDB76B). oklch(78.4% 0.094 96.5), rgb(202, 185, 113).

Aa

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

About this color

#CAB971 is a light, moderately saturated yellow. In OKLCH its lightness is 78%, its chroma 0.094 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.022 away. Black text reads best on it, at 10.68:1.

Hue familyYellows
Lightnesslight (78%)
Chromamoderately saturated (0.094)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text10.68:1
White text1.96:1

Values

HEX#CAB971
RGBrgb(202, 185, 113)
HSLhsl(49, 46%, 62%)
OKLCHoklch(78.4% 0.094 96.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 #CAB971 1.96:1 Fails Lc -42.2 Non-text elements, placeholder text
Black text on #CAB971 10.68:1 AAA Lc 66.1 Content text, not long reading
#CAB971 text on white 1.96:1 Fails Lc 37.8 Non-text elements, placeholder text
#CAB971 text on black 10.68:1 AAA Lc -64.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

    #F8F6EC

    oklch(97.2% 0.013 97.4)

  2. Step 100

    100

    #EFEAD6

    oklch(93.6% 0.027 95.4)

  3. Step 200

    200

    #E3DAB3

    oklch(88.6% 0.052 96.5)

  4. Step 300

    300 (this color)

    #CAB971

    oklch(78.4% 0.094 96.5)

  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

    #726000

    oklch(49.2% 0.101 96.3)

  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

#CAB971 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)#C6B66B0.011
Deuteranopia (no green cones)#CBBB740.006
Tritanopia (no blue cones)#D6AFA70.086
Achromatopsia (no color)#B9B9B90.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAB971

    #CAB971

    oklch(78.4% 0.094 96.5)

  • #A8B4F5

    #A8B4F5

    oklch(78.4% 0.094 276)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAB971

    #CAB971

    oklch(78.4% 0.094 96.5)

  • #E2AD76

    #E2AD76

    oklch(78.4% 0.095 66.8)

  • #A9C482

    #A9C482

    oklch(78.4% 0.094 126.5)

Open the analogous palette in the generator

Split complementary

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

  • #CAB971

    #CAB971

    oklch(78.4% 0.094 96.5)

  • #86BFF2

    #86BFF2

    oklch(78.4% 0.094 246.3)

  • #C8A9E9

    #C8A9E9

    oklch(78.4% 0.095 306.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAB971

    #CAB971

    oklch(78.4% 0.094 96.5)

  • #6BC8E0

    #6BC8E0

    oklch(78.4% 0.095 216.7)

  • #E0A2CF

    #E0A2CF

    oklch(78.5% 0.094 336.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAB971

    #CAB971

    oklch(78.4% 0.094 96.5)

  • #6ACCC2

    #6ACCC2

    oklch(78.3% 0.094 186.8)

  • #A8B4F5

    #A8B4F5

    oklch(78.4% 0.094 276)

  • #ED9FAF

    #ED9FAF

    oklch(78.3% 0.095 6.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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