#CAB87F#CAB87F

#CAB87F is a light, moderate yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.078 H 92.6°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#CAB87F
RGBrgb(202, 184, 127)
HSLhsl(46, 41%, 65%)
HSVhsv(46, 37%, 79%)
CMYKcmyk(0%, 8.9%, 37.1%, 20.8%)
CIE-LABlab(75.06, -1.85, 31.31)
CIE-LCHlch(75.06, 31.37, 93.38°)
OKLaboklab(78.44% -0.0035 0.0775)
OKLCHoklch(78.44% 0.078 92.6)
XYZxyz(45.3292, 48.3713, 27.0234)
Luminance0.4837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB87F #7F91CA
analogous
#CA937F #CAB87F #B7CA7F
triadic
#CAB87F #7FCAB8 #B87FCA
tetradic
#CAB87F #7FCA93 #7F91CA #CA7FB7
square
#CAB87F #7FCA93 #7F91CA #CA7FB7
split-complementary
#CAB87F #7FB7CA #937FCA
monochromatic
#927E3C #B8A054 #CAB87F #DCD0AA #EEE8D6

Accessibility & contrast

On white

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

On black

10.67
#CAB87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB87F
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB87F#FFFFFF#000000##000000
##CAB87F1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B67B
Deuteranopia (green-blind)
#C9BB81
Tritanopia (blue-blind)
#D5AFA9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cab87f;
/* rgb */ color: rgb(202, 184, 127);
/* oklch */ color: oklch(78.4% 0.078 92.6);
Tailwind
colors: {
  custom: {
    50: '#dbcda4',
    500: '#cab87f',
    950: '#000000',
  },
}
SCSS
$custom: #cab87f;
$custom-light: #dbcda4;
$custom-dark: #000000;
JSON
{
  "hex": "#cab87f",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 45.6,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.78439,
    "c": 0.07758,
    "h": 92.6
  },
  "luminance": 0.4837
}

Semantic roles & 50–950 ramp

primary
#CAB87F
secondary
#C5CCDF
accent
#51B431
background
#FDFCFA
surface
#FBF8F4
border
#D4D1CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CAB87F

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

Preview Lab → · Contrast checker → · Palette generator →

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