#CAB140

Closest named color: Burnt Yellow (#D5AB09). oklch(76.2% 0.133 96.5), rgb(202, 177, 64).

Aa

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

About this color

#CAB140 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.133 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Burnt Yellow (#D5AB09), ΔE 0.026 away. Black text reads best on it, at 9.87:1.

Hue familyYellows
Lightnessmedium-light (76%)
Chromamoderately saturated (0.133)
Temperaturewarm
Nearest nameBurnt Yellow (#D5AB09)
Black text9.87:1
White text2.12:1

Values

HEX#CAB140
RGBrgb(202, 177, 64)
HSLhsl(49, 57%, 52%)
OKLCHoklch(76.2% 0.133 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 #CAB140 2.12:1 Fails Lc -46.2 Large or bold text, headings
Black text on #CAB140 9.87:1 AAA Lc 62.4 Content text, not long reading
#CAB140 text on white 2.12:1 Fails Lc 41.6 Non-text elements, placeholder text
#CAB140 text on black 9.87:1 AAA Lc -60.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

    #F9F6E9

    oklch(97.2% 0.017 96.1)

  2. Step 100

    100

    #F1EACE

    oklch(93.5% 0.038 95.5)

  3. Step 200

    200

    #E7DAA2

    oklch(88.5% 0.074 96.6)

  4. Step 300

    300 (this color)

    #CAB140

    oklch(76.2% 0.133 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

    #716000

    oklch(49.1% 0.101 97)

  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

#CAB140 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)#C2AD310.019
Deuteranopia (no green cones)#C9B5460.010
Tritanopia (no blue cones)#DAA49A0.122
Achromatopsia (no color)#B2B2B20.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAB140

    #CAB140

    oklch(76.2% 0.133 96.5)

  • #9DAAFF

    #9DAAFF

    oklch(76.1% 0.123 276.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAB140

    #CAB140

    oklch(76.2% 0.133 96.5)

  • #EA9F4C

    #EA9F4C

    oklch(76.1% 0.133 66)

  • #9CC15F

    #9CC15F

    oklch(76.2% 0.133 126.4)

Open the analogous palette in the generator

Split complementary

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

  • #CAB140

    #CAB140

    oklch(76.2% 0.133 96.5)

  • #67B9FF

    #67B9FF

    oklch(76.2% 0.129 246.3)

  • #C79AF4

    #C79AF4

    oklch(76.1% 0.134 306.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAB140

    #CAB140

    oklch(76.2% 0.133 96.5)

  • #18C6E8

    #18C6E8

    oklch(76.3% 0.133 216.5)

  • #E690D1

    #E690D1

    oklch(76.2% 0.132 336.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAB140

    #CAB140

    oklch(76.2% 0.133 96.5)

  • #07CCBF

    #07CCBF

    oklch(76.1% 0.132 186.7)

  • #9DAAFF

    #9DAAFF

    oklch(76.1% 0.123 276.4)

  • #F88CA4

    #F88CA4

    oklch(76.2% 0.133 6.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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