#CAB985#CAB985

#CAB985 is a light, moderate yellow. Relative luminance 0.489; OKLCH L 78.8% C 0.071 H 92.1°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#CAB985
RGBrgb(202, 185, 133)
HSLhsl(45, 39%, 66%)
HSVhsv(45, 34%, 79%)
CMYKcmyk(0%, 8.4%, 34.2%, 20.8%)
CIE-LABlab(75.42, -1.66, 28.63)
CIE-LCHlch(75.42, 28.67, 93.31°)
OKLaboklab(78.76% -0.0026 0.0714)
OKLCHoklch(78.76% 0.071 92.1)
XYZxyz(45.9404, 48.9493, 29.2139)
Luminance0.4895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB985 #8596CA
analogous
#CA9685 #CAB985 #B9CA85
triadic
#CAB985 #85CAB9 #B985CA
tetradic
#CAB985 #85CA96 #8596CA #CA85B9
square
#CAB985 #85CA96 #8596CA #CA85B9
split-complementary
#CAB985 #85B9CA #9685CA
monochromatic
#948040 #B7A15A #CAB985 #DDD1B0 #EFEADA

Accessibility & contrast

On white

1.95
#CAB985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#CAB985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB985
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB985#FFFFFF#000000##000000
##CAB9851.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B781
Deuteranopia (green-blind)
#C9BC87
Tritanopia (blue-blind)
#D5B1AB
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cab985;
/* rgb */ color: rgb(202, 185, 133);
/* oklch */ color: oklch(78.8% 0.071 92.1);
Tailwind
colors: {
  custom: {
    50: '#dbcda9',
    500: '#cab985',
    950: '#000000',
  },
}
SCSS
$custom: #cab985;
$custom-light: #dbcda9;
$custom-dark: #000000;
JSON
{
  "hex": "#cab985",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 133
  },
  "hsl": {
    "h": 45.217,
    "s": 39.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.78757,
    "c": 0.07144,
    "h": 92.1
  },
  "luminance": 0.48948
}

Semantic roles & 50–950 ramp

primary
#CAB985
secondary
#CAD0E1
accent
#52B233
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#151310
muted
#83827F

Preview Lab

Preview with #CAB985

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

Preview Lab → · Contrast checker → · Palette generator →

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