#CAB456#CAB456

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

Color values

HEX#CAB456
RGBrgb(202, 180, 86)
HSLhsl(49, 52%, 56%)
HSVhsv(49, 57%, 79%)
CMYKcmyk(0%, 10.9%, 57.4%, 20.8%)
CIE-LABlab(73.46, -3.69, 49.99)
CIE-LCHlch(73.46, 50.12, 94.23°)
OKLaboklab(77% -0.0129 0.1164)
OKLCHoklch(77% 0.117 96.3)
XYZxyz(42.3598, 45.8728, 15.4254)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB456 #566CCA
analogous
#CA7A56 #CAB456 #A6CA56
triadic
#CAB456 #56CAB4 #B456CA
tetradic
#CAB456 #56CA7A #566CCA #CA56A6
square
#CAB456 #56CA7A #566CCA #CA56A6
split-complementary
#CAB456 #56A6CA #7A56CA
monochromatic
#7E6E28 #AD9636 #CAB456 #D9C985 #E7DDB3

Accessibility & contrast

On white

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

On black

10.17
#CAB456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB456
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB456#FFFFFF#000000##000000
##CAB4561.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cab456;
/* rgb */ color: rgb(202, 180, 86);
/* oklch */ color: oklch(77.0% 0.117 96.3);
Tailwind
colors: {
  custom: {
    50: '#ddca89',
    500: '#cab456',
    950: '#000000',
  },
}
SCSS
$custom: #cab456;
$custom-light: #ddca89;
$custom-dark: #000000;
JSON
{
  "hex": "#cab456",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 86
  },
  "hsl": {
    "h": 48.621,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77,
    "c": 0.11706,
    "h": 96.3
  },
  "luminance": 0.45871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB456

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

Preview Lab → · Contrast checker → · Palette generator →

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