#CAAB39#CAAB39

#CAAB39 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.9% C 0.133 H 93.4°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#CAAB39
RGBrgb(202, 171, 57)
HSLhsl(47, 58%, 51%)
HSVhsv(47, 72%, 79%)
CMYKcmyk(0%, 15.3%, 71.8%, 20.8%)
CIE-LABlab(70.86, -0.75, 59.87)
CIE-LCHlch(70.86, 59.87, 90.72°)
OKLaboklab(74.86% -0.0079 0.133)
OKLCHoklch(74.86% 0.133 93.4)
XYZxyz(39.6607, 41.9800, 9.8841)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAB39 #3958CA
analogous
#CA6239 #CAAB39 #A1CA39
triadic
#CAAB39 #39CAAB #AB39CA
tetradic
#CAAB39 #39CA62 #3958CA #CA39A1
square
#CAAB39 #39CA62 #3958CA #CA39A1
split-complementary
#CAAB39 #39A1CA #6239CA
monochromatic
#6C5B1D #9C842A #CAAB39 #D7BF69 #E4D49A

Accessibility & contrast

On white

2.24
#CAAB39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#CAAB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAB39
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAB39#FFFFFF#000000##000000
##CAAB391.002.249.409.40
#FFFFFF2.241.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA828
Deuteranopia (green-blind)
#C5B13F
Tritanopia (blue-blind)
#DA9D94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caab39;
/* rgb */ color: rgb(202, 171, 57);
/* oklch */ color: oklch(74.9% 0.133 93.4);
Tailwind
colors: {
  custom: {
    50: '#dec376',
    500: '#caab39',
    950: '#000000',
  },
}
SCSS
$custom: #caab39;
$custom-light: #dec376;
$custom-dark: #000000;
JSON
{
  "hex": "#caab39",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 57
  },
  "hsl": {
    "h": 47.172,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74859,
    "c": 0.13321,
    "h": 93.4
  },
  "luminance": 0.41978
}

Semantic roles & 50–950 ramp

primary
#CAAB39
secondary
#8F9DD0
accent
#68E147
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CAAB39

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CAAB39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva