#CAB34B

Closest named color: Desert (#CCAD60). oklch(76.7% 0.126 96.8), rgb(202, 179, 75).

Aa

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

About this color

#CAB34B is a medium-light, moderately saturated yellow. In OKLCH its lightness is 77%, its chroma 0.126 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Desert (#CCAD60), ΔE 0.030 away. Black text reads best on it, at 10.06:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromamoderately saturated (0.126)
Temperaturewarm
Nearest nameDesert (#CCAD60)
Black text10.06:1
White text2.08:1

Values

HEX#CAB34B
RGBrgb(202, 179, 75)
HSLhsl(49, 55%, 54%)
OKLCHoklch(76.7% 0.126 96.8)

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 #CAB34B 2.08:1 Fails Lc -45.3 Large or bold text, headings
Black text on #CAB34B 10.06:1 AAA Lc 63.2 Content text, not long reading
#CAB34B text on white 2.08:1 Fails Lc 40.7 Non-text elements, placeholder text
#CAB34B text on black 10.06:1 AAA Lc -61.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

    #F8F6E9

    oklch(97.1% 0.017 99.6)

  2. Step 100

    100

    #F0EACF

    oklch(93.5% 0.036 96.7)

  3. Step 200

    200

    #E6DAA5

    oklch(88.5% 0.07 96.9)

  4. Step 300

    300 (this color)

    #CAB34B

    oklch(76.7% 0.126 96.8)

  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

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4D4100

    oklch(37.6% 0.078 97.3)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#CAB34B 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)#C4AF3F0.017
Deuteranopia (no green cones)#CAB7500.010
Tritanopia (no blue cones)#D9A69D0.116
Achromatopsia (no color)#B3B3B30.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAB34B

    #CAB34B

    oklch(76.7% 0.126 96.8)

  • #A0ACFF

    #A0ACFF

    oklch(76.7% 0.12 276.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAB34B

    #CAB34B

    oklch(76.7% 0.126 96.8)

  • #E9A254

    #E9A254

    oklch(76.6% 0.126 66.4)

  • #9EC266

    #9EC266

    oklch(76.7% 0.126 126.7)

Open the analogous palette in the generator

Split complementary

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

  • #CAB34B

    #CAB34B

    oklch(76.7% 0.126 96.8)

  • #6CBAFF

    #6CBAFF

    oklch(76.7% 0.126 247)

  • #C89DF2

    #C89DF2

    oklch(76.6% 0.126 306.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAB34B

    #CAB34B

    oklch(76.7% 0.126 96.8)

  • #33C6E7

    #33C6E7

    oklch(76.6% 0.126 217.1)

  • #E693D1

    #E693D1

    oklch(76.7% 0.127 336.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAB34B

    #CAB34B

    oklch(76.7% 0.126 96.8)

  • #2DCDC0

    #2DCDC0

    oklch(76.8% 0.126 186.4)

  • #A0ACFF

    #A0ACFF

    oklch(76.7% 0.12 276.9)

  • #F690A6

    #F690A6

    oklch(76.7% 0.125 6.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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