#CAB34F

Closest named color: Desert (#CCAD60). oklch(76.7% 0.122 96.4), rgb(202, 179, 79).

Aa

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

About this color

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

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

Values

HEX#CAB34F
RGBrgb(202, 179, 79)
HSLhsl(49, 54%, 55%)
OKLCHoklch(76.7% 0.122 96.4)

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

    #F8F6EA

    oklch(97.1% 0.016 99)

  2. Step 100

    100

    #F0EAD0

    oklch(93.5% 0.035 96.3)

  3. Step 200

    200

    #E6DAA7

    oklch(88.6% 0.068 96.4)

  4. Step 300

    300 (this color)

    #CAB34F

    oklch(76.7% 0.122 96.4)

  5. Step 400

    400

    #BB9F00

    oklch(70.6% 0.145 96.4)

  6. Step 500

    500

    #A18800

    oklch(63.1% 0.13 96)

  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

#CAB34F 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)#C3AF440.018
Deuteranopia (no green cones)#C9B7540.010
Tritanopia (no blue cones)#D9A79D0.111
Achromatopsia (no color)#B4B4B40.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAB34F

    #CAB34F

    oklch(76.7% 0.122 96.4)

  • #9FACFF

    #9FACFF

    oklch(76.7% 0.12 276.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAB34F

    #CAB34F

    oklch(76.7% 0.122 96.4)

  • #E8A358

    #E8A358

    oklch(76.8% 0.123 66.4)

  • #9FC269

    #9FC269

    oklch(76.8% 0.123 126.7)

Open the analogous palette in the generator

Split complementary

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

  • #CAB34F

    #CAB34F

    oklch(76.7% 0.122 96.4)

  • #6EBAFD

    #6EBAFD

    oklch(76.7% 0.123 246.8)

  • #C79EF1

    #C79EF1

    oklch(76.7% 0.123 306.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAB34F

    #CAB34F

    oklch(76.7% 0.122 96.4)

  • #3BC6E5

    #3BC6E5

    oklch(76.7% 0.122 216.4)

  • #E594D0

    #E594D0

    oklch(76.7% 0.123 336.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAB34F

    #CAB34F

    oklch(76.7% 0.122 96.4)

  • #37CCBF

    #37CCBF

    oklch(76.7% 0.122 186.2)

  • #9FACFF

    #9FACFF

    oklch(76.7% 0.12 276.4)

  • #F591A7

    #F591A7

    oklch(76.7% 0.123 6.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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