#CAB557#CAB557

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

Color values

HEX#CAB557
RGBrgb(202, 181, 87)
HSLhsl(49, 52%, 57%)
HSVhsv(49, 57%, 79%)
CMYKcmyk(0%, 10.4%, 56.9%, 20.8%)
CIE-LABlab(73.74, -4.14, 49.83)
CIE-LCHlch(73.74, 50.00, 94.75°)
OKLaboklab(77.22% -0.0141 0.1161)
OKLCHoklch(77.22% 0.117 96.9)
XYZxyz(42.6029, 46.2943, 15.7066)
Luminance0.4629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB557 #576CCA
analogous
#CA7C57 #CAB557 #A6CA57
triadic
#CAB557 #57CAB5 #B557CA
tetradic
#CAB557 #57CA7C #576CCA #CA57A6
square
#CAB557 #57CA7C #576CCA #CA57A6
split-complementary
#CAB557 #57A6CA #7C57CA
monochromatic
#7F6F28 #AD9837 #CAB557 #D9C986 #E7DEB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB557#FFFFFF#000000##000000
##CAB5571.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)
#C5B14E
Deuteranopia (green-blind)
#CAB85B
Tritanopia (blue-blind)
#D8A9A0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab557;
/* rgb */ color: rgb(202, 181, 87);
/* oklch */ color: oklch(77.2% 0.117 96.9);
Tailwind
colors: {
  custom: {
    50: '#ddca89',
    500: '#cab557',
    950: '#000000',
  },
}
SCSS
$custom: #cab557;
$custom-light: #ddca89;
$custom-dark: #000000;
JSON
{
  "hex": "#cab557",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 87
  },
  "hsl": {
    "h": 49.043,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.7722,
    "c": 0.11697,
    "h": 96.9
  },
  "luminance": 0.46292
}

Semantic roles & 50–950 ramp

primary
#CAB557
secondary
#A7AFD6
accent
#66DB4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB557

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

Preview Lab → · Contrast checker → · Palette generator →

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