#CAB549#CAB549

#CAB549 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.1% C 0.129 H 98.3°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#CAB549
RGBrgb(202, 181, 73)
HSLhsl(50, 55%, 54%)
HSVhsv(50, 64%, 79%)
CMYKcmyk(0%, 10.4%, 63.9%, 20.8%)
CIE-LABlab(73.60, -5.12, 56.05)
CIE-LCHlch(73.60, 56.29, 95.22°)
OKLaboklab(77.07% -0.0185 0.1276)
OKLCHoklch(77.07% 0.129 98.3)
XYZxyz(42.0854, 46.0873, 12.9810)
Luminance0.4608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB549 #495ECA
analogous
#CA7549 #CAB549 #9FCA49
triadic
#CAB549 #49CAB5 #B549CA
tetradic
#CAB549 #49CA75 #495ECA #CA499F
square
#CAB549 #49CA75 #495ECA #CA499F
split-complementary
#CAB549 #499FCA #7549CA
monochromatic
#766922 #A69230 #CAB549 #D8C878 #E6DCA8

Accessibility & contrast

On white

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

On black

10.22
#CAB549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB549
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB549#FFFFFF#000000##000000
##CAB5491.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13C
Deuteranopia (green-blind)
#CBB84F
Tritanopia (blue-blind)
#D9A89E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab549;
/* rgb */ color: rgb(202, 181, 73);
/* oklch */ color: oklch(77.1% 0.129 98.3);
Tailwind
colors: {
  custom: {
    50: '#ddca80',
    500: '#cab549',
    950: '#000000',
  },
}
SCSS
$custom: #cab549;
$custom-light: #ddca80;
$custom-dark: #000000;
JSON
{
  "hex": "#cab549",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 73
  },
  "hsl": {
    "h": 50.233,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77071,
    "c": 0.12892,
    "h": 98.3
  },
  "luminance": 0.46085
}

Semantic roles & 50–950 ramp

primary
#CAB549
secondary
#9CA5D3
accent
#62DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CAB549

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

Preview Lab → · Contrast checker → · Palette generator →

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