#CAB94D#CAB94D

#CAB94D is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.9% C 0.129 H 100.4°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#CAB94D
RGBrgb(202, 185, 77)
HSLhsl(52, 54%, 55%)
HSVhsv(52, 62%, 79%)
CMYKcmyk(0%, 8.4%, 61.9%, 20.8%)
CIE-LABlab(74.69, -6.94, 55.48)
CIE-LCHlch(74.69, 55.91, 97.13°)
OKLaboklab(77.95% -0.0233 0.1269)
OKLCHoklch(77.95% 0.129 100.4)
XYZxyz(43.0473, 47.7921, 13.9770)
Luminance0.4779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB94D #4D5ECA
analogous
#CA7B4D #CAB94D #9DCA4D
triadic
#CAB94D #4DCAB9 #B94DCA
tetradic
#CAB94D #4DCA7B #4D5ECA #CA4D9D
square
#CAB94D #4DCA7B #4D5ECA #CA4D9D
split-complementary
#CAB94D #4D9DCA #7B4DCA
monochromatic
#796D24 #A89832 #CAB94D #D8CC7C #E6DEAB

Accessibility & contrast

On white

1.99
#CAB94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#CAB94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB94D
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB94D#FFFFFF#000000##000000
##CAB94D1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B441
Deuteranopia (green-blind)
#CEBB53
Tritanopia (blue-blind)
#D9ADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cab94d;
/* rgb */ color: rgb(202, 185, 77);
/* oklch */ color: oklch(77.9% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#ddcd83',
    500: '#cab94d',
    950: '#000000',
  },
}
SCSS
$custom: #cab94d;
$custom-light: #ddcd83;
$custom-dark: #000000;
JSON
{
  "hex": "#cab94d",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 77
  },
  "hsl": {
    "h": 51.84,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77947,
    "c": 0.12906,
    "h": 100.4
  },
  "luminance": 0.4779
}

Semantic roles & 50–950 ramp

primary
#CAB94D
secondary
#9FA6D4
accent
#5EDD4A
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB94D

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

Preview Lab → · Contrast checker → · Palette generator →

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