#CAB556#CAB556

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

Color values

HEX#CAB556
RGBrgb(202, 181, 86)
HSLhsl(49, 52%, 56%)
HSVhsv(49, 57%, 79%)
CMYKcmyk(0%, 10.4%, 57.4%, 20.8%)
CIE-LABlab(73.73, -4.22, 50.29)
CIE-LCHlch(73.73, 50.46, 94.79°)
OKLaboklab(77.21% -0.0144 0.117)
OKLCHoklch(77.21% 0.118 97)
XYZxyz(42.5624, 46.2781, 15.4929)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB556 #566BCA
analogous
#CA7B56 #CAB556 #A5CA56
triadic
#CAB556 #56CAB5 #B556CA
tetradic
#CAB556 #56CA7B #566BCA #CA56A5
square
#CAB556 #56CA7B #566BCA #CA56A5
split-complementary
#CAB556 #56A5CA #7B56CA
monochromatic
#7E6E28 #AD9736 #CAB556 #D9C985 #E7DEB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB556#FFFFFF#000000##000000
##CAB5561.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)
#C5B14D
Deuteranopia (green-blind)
#CAB85A
Tritanopia (blue-blind)
#D8A9A0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab556;
/* rgb */ color: rgb(202, 181, 86);
/* oklch */ color: oklch(77.2% 0.118 97.0);
Tailwind
colors: {
  custom: {
    50: '#ddca89',
    500: '#cab556',
    950: '#000000',
  },
}
SCSS
$custom: #cab556;
$custom-light: #ddca89;
$custom-dark: #000000;
JSON
{
  "hex": "#cab556",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 86
  },
  "hsl": {
    "h": 49.138,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77208,
    "c": 0.11788,
    "h": 97
  },
  "luminance": 0.46276
}

Semantic roles & 50–950 ramp

primary
#CAB556
secondary
#A6AFD6
accent
#66DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB556

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

Preview Lab → · Contrast checker → · Palette generator →

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