#CAB970#CAB970

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

Color values

HEX#CAB970
RGBrgb(202, 185, 112)
HSLhsl(49, 46%, 62%)
HSVhsv(49, 45%, 79%)
CMYKcmyk(0%, 8.4%, 44.6%, 20.8%)
CIE-LABlab(75.09, -4.01, 39.13)
CIE-LCHlch(75.09, 39.33, 95.85°)
OKLaboklab(78.39% -0.011 0.0947)
OKLCHoklch(78.39% 0.095 96.6)
XYZxyz(44.6319, 48.4259, 22.3222)
Luminance0.4842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB970 #7081CA
analogous
#CA8C70 #CAB970 #AECA70
triadic
#CAB970 #70CAB9 #B970CA
tetradic
#CAB970 #70CA8C #7081CA #CA70AE
square
#CAB970 #70CA8C #7081CA #CA70AE
split-complementary
#CAB970 #70AECA #8C70CA
monochromatic
#8C7B34 #B8A344 #CAB970 #DBCF9D #EBE5C9

Accessibility & contrast

On white

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

On black

10.68
#CAB970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB970
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB970#FFFFFF#000000##000000
##CAB9701.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B66A
Deuteranopia (green-blind)
#CBBB73
Tritanopia (blue-blind)
#D6AFA7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cab970;
/* rgb */ color: rgb(202, 185, 112);
/* oklch */ color: oklch(78.4% 0.095 96.6);
Tailwind
colors: {
  custom: {
    50: '#dccd9a',
    500: '#cab970',
    950: '#000000',
  },
}
SCSS
$custom: #cab970;
$custom-light: #dccd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab970",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 112
  },
  "hsl": {
    "h": 48.667,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.78392,
    "c": 0.09534,
    "h": 96.6
  },
  "luminance": 0.48424
}

Semantic roles & 50–950 ramp

primary
#CAB970
secondary
#BAC0DC
accent
#47B92C
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CAB970

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

Preview Lab → · Contrast checker → · Palette generator →

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