#CAB459#CAB459

#CAB459 is a light, moderate yellow. Relative luminance 0.459; OKLCH L 77.0% C 0.114 H 96.0°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#CAB459
RGBrgb(202, 180, 89)
HSLhsl(48, 52%, 57%)
HSVhsv(48, 56%, 79%)
CMYKcmyk(0%, 10.9%, 55.9%, 20.8%)
CIE-LABlab(73.50, -3.46, 48.60)
CIE-LCHlch(73.50, 48.72, 94.07°)
OKLaboklab(77.04% -0.0119 0.1137)
OKLCHoklch(77.04% 0.114 96)
XYZxyz(42.4832, 45.9222, 16.0754)
Luminance0.4592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB459 #596FCA
analogous
#CA7C59 #CAB459 #A7CA59
triadic
#CAB459 #59CAB4 #B459CA
tetradic
#CAB459 #59CA7C #596FCA #CA59A7
square
#CAB459 #59CA7C #596FCA #CA59A7
split-complementary
#CAB459 #59A7CA #7C59CA
monochromatic
#806F29 #AE9738 #CAB459 #D9C987 #E8DEB6

Accessibility & contrast

On white

2.06
#CAB459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#CAB459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB459
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB459#FFFFFF#000000##000000
##CAB4591.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B050
Deuteranopia (green-blind)
#C9B85D
Tritanopia (blue-blind)
#D8A89F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab459;
/* rgb */ color: rgb(202, 180, 89);
/* oklch */ color: oklch(77.0% 0.114 96.0);
Tailwind
colors: {
  custom: {
    50: '#ddca8a',
    500: '#cab459',
    950: '#000000',
  },
}
SCSS
$custom: #cab459;
$custom-light: #ddca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab459",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 89
  },
  "hsl": {
    "h": 48.319,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77036,
    "c": 0.11431,
    "h": 96
  },
  "luminance": 0.4592
}

Semantic roles & 50–950 ramp

primary
#CAB459
secondary
#A8B1D6
accent
#68DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB459

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

Preview Lab → · Contrast checker → · Palette generator →

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