#CAB960#CAB960

#CAB960 is a light, moderate yellow. Relative luminance 0.481; OKLCH L 78.2% C 0.112 H 98.7°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#CAB960
RGBrgb(202, 185, 96)
HSLhsl(50, 50%, 58%)
HSVhsv(50, 52%, 79%)
CMYKcmyk(0%, 8.4%, 52.5%, 20.8%)
CIE-LABlab(74.89, -5.50, 46.86)
CIE-LCHlch(74.89, 47.18, 96.70°)
OKLaboklab(78.16% -0.017 0.1106)
OKLCHoklch(78.16% 0.112 98.7)
XYZxyz(43.8188, 48.1007, 18.0403)
Luminance0.4810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB960 #6071CA
analogous
#CA8460 #CAB960 #A6CA60
triadic
#CAB960 #60CAB9 #B960CA
tetradic
#CAB960 #60CA84 #6071CA #CA60A6
square
#CAB960 #60CA84 #6071CA #CA60A6
split-complementary
#CAB960 #60A6CA #8460CA
monochromatic
#84762C #B29F3B #CAB960 #D9CD8E #E9E1BC

Accessibility & contrast

On white

1.98
#CAB960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#CAB960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB960
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB960#FFFFFF#000000##000000
##CAB9601.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B558
Deuteranopia (green-blind)
#CDBB64
Tritanopia (blue-blind)
#D8AEA5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cab960;
/* rgb */ color: rgb(202, 185, 96);
/* oklch */ color: oklch(78.2% 0.112 98.7);
Tailwind
colors: {
  custom: {
    50: '#dccd8f',
    500: '#cab960',
    950: '#000000',
  },
}
SCSS
$custom: #cab960;
$custom-light: #dccd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cab960",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 96
  },
  "hsl": {
    "h": 50.377,
    "s": 50,
    "l": 58.431
  },
  "oklch": {
    "l": 0.78164,
    "c": 0.1119,
    "h": 98.7
  },
  "luminance": 0.48099
}

Semantic roles & 50–950 ramp

primary
#CAB960
secondary
#AEB5D8
accent
#65DA4E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130D
muted
#83827D

Preview Lab

Preview with #CAB960

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

Preview Lab → · Contrast checker → · Palette generator →

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