#CAB87A#CAB87A

#CAB87A is a light, moderate yellow. Relative luminance 0.482; OKLCH L 78.3% C 0.083 H 93.8°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#CAB87A
RGBrgb(202, 184, 122)
HSLhsl(47, 43%, 64%)
HSVhsv(47, 40%, 79%)
CMYKcmyk(0%, 8.9%, 39.6%, 20.8%)
CIE-LABlab(74.98, -2.42, 33.82)
CIE-LCHlch(74.98, 33.91, 94.09°)
OKLaboklab(78.35% -0.0055 0.0831)
OKLCHoklch(78.35% 0.083 93.8)
XYZxyz(45.0114, 48.2442, 25.3496)
Luminance0.4824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB87A #7A8CCA
analogous
#CA907A #CAB87A #B4CA7A
triadic
#CAB87A #7ACAB8 #B87ACA
tetradic
#CAB87A #7ACA90 #7A8CCA #CA7AB4
square
#CAB87A #7ACA90 #7A8CCA #CA7AB4
split-complementary
#CAB87A #7AB4CA #907ACA
monochromatic
#907D39 #B9A14E #CAB87A #DBCFA6 #EDE7D2

Accessibility & contrast

On white

1.97
#CAB87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#CAB87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB87A
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB87A#FFFFFF#000000##000000
##CAB87A1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B575
Deuteranopia (green-blind)
#C9BB7C
Tritanopia (blue-blind)
#D6AFA8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cab87a;
/* rgb */ color: rgb(202, 184, 122);
/* oklch */ color: oklch(78.3% 0.083 93.8);
Tailwind
colors: {
  custom: {
    50: '#dbcda1',
    500: '#cab87a',
    950: '#000000',
  },
}
SCSS
$custom: #cab87a;
$custom-light: #dbcda1;
$custom-dark: #000000;
JSON
{
  "hex": "#cab87a",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 122
  },
  "hsl": {
    "h": 46.5,
    "s": 43.011,
    "l": 63.529
  },
  "oklch": {
    "l": 0.7835,
    "c": 0.08331,
    "h": 93.8
  },
  "luminance": 0.48243
}

Semantic roles & 50–950 ramp

primary
#CAB87A
secondary
#C2C8DE
accent
#4EB62F
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130F
muted
#83827E

Preview Lab

Preview with #CAB87A

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

Preview Lab → · Contrast checker → · Palette generator →

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