#CAB356

Closest named color: Desert (#CCAD60). oklch(76.8% 0.116 95.6), rgb(202, 179, 86).

Aa

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

About this color

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

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

Values

HEX#CAB356
RGBrgb(202, 179, 86)
HSLhsl(48, 52%, 56%)
OKLCHoklch(76.8% 0.116 95.6)

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 #CAB356 2.08:1 Fails Lc -45.2 Large or bold text, headings
Black text on #CAB356 10.09:1 AAA Lc 63.4 Content text, not long reading
#CAB356 text on white 2.08:1 Fails Lc 40.6 Non-text elements, placeholder text
#CAB356 text on black 10.09:1 AAA Lc -61.7 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

    #F0EAD1

    oklch(93.5% 0.034 95.9)

  3. Step 200

    200

    #E6DAA9

    oklch(88.6% 0.065 95.9)

  4. Step 300

    300 (this color)

    #CAB356

    oklch(76.8% 0.116 95.6)

  5. Step 400

    400

    #BC9F00

    oklch(70.7% 0.145 95.9)

  6. Step 500

    500

    #A18800

    oklch(63.1% 0.13 96)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #725F00

    oklch(49% 0.101 95.4)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#CAB356 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)#C3AF4D0.017
Deuteranopia (no green cones)#C9B75A0.010
Tritanopia (no blue cones)#D9A79E0.107
Achromatopsia (no color)#B4B4B40.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAB356

    #CAB356

    oklch(76.8% 0.116 95.6)

  • #9FADFD

    #9FADFD

    oklch(76.8% 0.116 275.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAB356

    #CAB356

    oklch(76.8% 0.116 95.6)

  • #E6A45F

    #E6A45F

    oklch(76.8% 0.116 65.8)

  • #A2C16C

    #A2C16C

    oklch(76.8% 0.117 125.4)

Open the analogous palette in the generator

Split complementary

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

  • #CAB356

    #CAB356

    oklch(76.8% 0.116 95.6)

  • #71BBF9

    #71BBF9

    oklch(76.8% 0.116 245.4)

  • #C5A0EF

    #C5A0EF

    oklch(76.8% 0.117 305.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAB356

    #CAB356

    oklch(76.8% 0.116 95.6)

  • #46C6E2

    #46C6E2

    oklch(76.8% 0.116 215.3)

  • #E297D0

    #E297D0

    oklch(76.8% 0.116 335.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAB356

    #CAB356

    oklch(76.8% 0.116 95.6)

  • #45CBBE

    #45CBBE

    oklch(76.7% 0.116 185.9)

  • #9FADFD

    #9FADFD

    oklch(76.8% 0.116 275.7)

  • #F293A9

    #F293A9

    oklch(76.7% 0.117 5.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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