#CAB558#CAB558

#CAB558 is a light, moderate yellow. Relative luminance 0.463; OKLCH L 77.2% C 0.116 H 96.8°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#CAB558
RGBrgb(202, 181, 88)
HSLhsl(49, 52%, 57%)
HSVhsv(49, 56%, 79%)
CMYKcmyk(0%, 10.4%, 56.4%, 20.8%)
CIE-LABlab(73.75, -4.06, 49.36)
CIE-LCHlch(73.75, 49.53, 94.71°)
OKLaboklab(77.23% -0.0137 0.1152)
OKLCHoklch(77.23% 0.116 96.8)
XYZxyz(42.6441, 46.3107, 15.9233)
Luminance0.4631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB558 #586DCA
analogous
#CA7C58 #CAB558 #A6CA58
triadic
#CAB558 #58CAB5 #B558CA
tetradic
#CAB558 #58CA7C #586DCA #CA58A6
square
#CAB558 #58CA7C #586DCA #CA58A6
split-complementary
#CAB558 #58A6CA #7C58CA
monochromatic
#7F6F28 #AE9837 #CAB558 #D9CA86 #E7DEB5

Accessibility & contrast

On white

2.05
#CAB558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#CAB558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB558
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB558#FFFFFF#000000##000000
##CAB5581.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14F
Deuteranopia (green-blind)
#CAB85C
Tritanopia (blue-blind)
#D8A9A0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab558;
/* rgb */ color: rgb(202, 181, 88);
/* oklch */ color: oklch(77.2% 0.116 96.8);
Tailwind
colors: {
  custom: {
    50: '#ddca8a',
    500: '#cab558',
    950: '#000000',
  },
}
SCSS
$custom: #cab558;
$custom-light: #ddca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab558",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 88
  },
  "hsl": {
    "h": 48.947,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77232,
    "c": 0.11606,
    "h": 96.8
  },
  "luminance": 0.46309
}

Semantic roles & 50–950 ramp

primary
#CAB558
secondary
#A8B0D6
accent
#67DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB558

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

Preview Lab → · Contrast checker → · Palette generator →

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