#CAB54D#CAB54D

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

Color values

HEX#CAB54D
RGBrgb(202, 181, 77)
HSLhsl(50, 54%, 55%)
HSVhsv(50, 62%, 79%)
CMYKcmyk(0%, 10.4%, 61.9%, 20.8%)
CIE-LABlab(73.64, -4.86, 54.32)
CIE-LCHlch(73.64, 54.54, 95.11°)
OKLaboklab(77.11% -0.0173 0.1245)
OKLCHoklch(77.11% 0.126 97.9)
XYZxyz(42.2223, 46.1420, 13.7020)
Luminance0.4614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB54D #4D62CA
analogous
#CA774D #CAB54D #A1CA4D
triadic
#CAB54D #4DCAB5 #B54DCA
tetradic
#CAB54D #4DCA77 #4D62CA #CA4DA1
square
#CAB54D #4DCA77 #4D62CA #CA4DA1
split-complementary
#CAB54D #4DA1CA #774DCA
monochromatic
#796A24 #A89432 #CAB54D #D8C97C #E6DCAB

Accessibility & contrast

On white

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

On black

10.23
#CAB54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB54D
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB54D#FFFFFF#000000##000000
##CAB54D1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B141
Deuteranopia (green-blind)
#CBB852
Tritanopia (blue-blind)
#D9A99F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab54d;
/* rgb */ color: rgb(202, 181, 77);
/* oklch */ color: oklch(77.1% 0.126 97.9);
Tailwind
colors: {
  custom: {
    50: '#ddca83',
    500: '#cab54d',
    950: '#000000',
  },
}
SCSS
$custom: #cab54d;
$custom-light: #ddca83;
$custom-dark: #000000;
JSON
{
  "hex": "#cab54d",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 77
  },
  "hsl": {
    "h": 49.92,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7711,
    "c": 0.12569,
    "h": 97.9
  },
  "luminance": 0.4614
}

Semantic roles & 50–950 ramp

primary
#CAB54D
secondary
#9FA8D4
accent
#63DD4A
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB54D

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

Preview Lab → · Contrast checker → · Palette generator →

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