#CAB159#CAB159

#CAB159 is a light, moderate yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.112 H 93.7°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#CAB159
RGBrgb(202, 177, 89)
HSLhsl(47, 52%, 57%)
HSVhsv(47, 56%, 79%)
CMYKcmyk(0%, 12.4%, 55.9%, 20.8%)
CIE-LABlab(72.71, -1.88, 47.68)
CIE-LCHlch(72.71, 47.72, 92.26°)
OKLaboklab(76.42% -0.0073 0.1117)
OKLCHoklch(76.42% 0.112 93.7)
XYZxyz(41.8841, 44.7241, 15.8757)
Luminance0.4472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB159 #5972CA
analogous
#CA7959 #CAB159 #AACA59
triadic
#CAB159 #59CAB1 #B159CA
tetradic
#CAB159 #59CA79 #5972CA #CA59AA
square
#CAB159 #59CA79 #5972CA #CA59AA
split-complementary
#CAB159 #59AACA #7959CA
monochromatic
#806D29 #AE9438 #CAB159 #D9C787 #E8DDB6

Accessibility & contrast

On white

2.11
#CAB159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#CAB159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB159
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB159#FFFFFF#000000##000000
##CAB1591.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE51
Deuteranopia (green-blind)
#C7B65D
Tritanopia (blue-blind)
#D8A59D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab159;
/* rgb */ color: rgb(202, 177, 89);
/* oklch */ color: oklch(76.4% 0.112 93.7);
Tailwind
colors: {
  custom: {
    50: '#ddc88a',
    500: '#cab159',
    950: '#000000',
  },
}
SCSS
$custom: #cab159;
$custom-light: #ddc88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab159",
  "rgb": {
    "r": 202,
    "g": 177,
    "b": 89
  },
  "hsl": {
    "h": 46.726,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.76415,
    "c": 0.11195,
    "h": 93.7
  },
  "luminance": 0.44722
}

Semantic roles & 50–950 ramp

primary
#CAB159
secondary
#A8B3D6
accent
#6CDB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB159

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

Preview Lab → · Contrast checker → · Palette generator →

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