#CAB84D#CAB84D

#CAB84D is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.7% C 0.128 H 99.8°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#CAB84D
RGBrgb(202, 184, 77)
HSLhsl(51, 54%, 55%)
HSVhsv(51, 62%, 79%)
CMYKcmyk(0%, 8.9%, 61.9%, 20.8%)
CIE-LABlab(74.43, -6.42, 55.19)
CIE-LCHlch(74.43, 55.56, 96.64°)
OKLaboklab(77.74% -0.0218 0.1263)
OKLCHoklch(77.74% 0.128 99.8)
XYZxyz(42.8389, 47.3752, 13.9076)
Luminance0.4737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB84D #4D5FCA
analogous
#CA7A4D #CAB84D #9ECA4D
triadic
#CAB84D #4DCAB8 #B84DCA
tetradic
#CAB84D #4DCA7A #4D5FCA #CA4D9E
square
#CAB84D #4DCA7A #4D5FCA #CA4D9E
split-complementary
#CAB84D #4D9ECA #7A4DCA
monochromatic
#796C24 #A89732 #CAB84D #D8CB7C #E6DEAB

Accessibility & contrast

On white

2.00
#CAB84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#CAB84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB84D
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB84D#FFFFFF#000000##000000
##CAB84D1.002.0010.4710.47
#FFFFFF2.001.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B341
Deuteranopia (green-blind)
#CDBA53
Tritanopia (blue-blind)
#D9ACA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cab84d;
/* rgb */ color: rgb(202, 184, 77);
/* oklch */ color: oklch(77.7% 0.128 99.8);
Tailwind
colors: {
  custom: {
    50: '#ddcd83',
    500: '#cab84d',
    950: '#000000',
  },
}
SCSS
$custom: #cab84d;
$custom-light: #ddcd83;
$custom-dark: #000000;
JSON
{
  "hex": "#cab84d",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 77
  },
  "hsl": {
    "h": 51.36,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77737,
    "c": 0.1282,
    "h": 99.8
  },
  "luminance": 0.47373
}

Semantic roles & 50–950 ramp

primary
#CAB84D
secondary
#9FA7D4
accent
#60DD4A
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB84D

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

Preview Lab → · Contrast checker → · Palette generator →

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