#CAB84E#CAB84E

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

Color values

HEX#CAB84E
RGBrgb(202, 184, 78)
HSLhsl(51, 54%, 55%)
HSVhsv(51, 61%, 79%)
CMYKcmyk(0%, 8.9%, 61.4%, 20.8%)
CIE-LABlab(74.44, -6.36, 54.76)
CIE-LCHlch(74.44, 55.12, 96.62°)
OKLaboklab(77.75% -0.0215 0.1255)
OKLCHoklch(77.75% 0.127 99.7)
XYZxyz(42.8745, 47.3894, 14.0949)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB84E #4E60CA
analogous
#CA7A4E #CAB84E #9ECA4E
triadic
#CAB84E #4ECAB8 #B84ECA
tetradic
#CAB84E #4ECA7A #4E60CA #CA4E9E
square
#CAB84E #4ECA7A #4E60CA #CA4E9E
split-complementary
#CAB84E #4E9ECA #7A4ECA
monochromatic
#796D24 #A89732 #CAB84E #D8CB7D #E6DEAC

Accessibility & contrast

On white

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

On black

10.48
#CAB84E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB84E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB84E#FFFFFF#000000##000000
##CAB84E1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cab84e;
/* rgb */ color: rgb(202, 184, 78);
/* oklch */ color: oklch(77.7% 0.127 99.7);
Tailwind
colors: {
  custom: {
    50: '#ddcd84',
    500: '#cab84e',
    950: '#000000',
  },
}
SCSS
$custom: #cab84e;
$custom-light: #ddcd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cab84e",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 78
  },
  "hsl": {
    "h": 51.29,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77747,
    "c": 0.12736,
    "h": 99.7
  },
  "luminance": 0.47388
}

Semantic roles & 50–950 ramp

primary
#CAB84E
secondary
#A0A7D4
accent
#60DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB84E

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

Preview Lab → · Contrast checker → · Palette generator →

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