#CAC82E#CAC82E

#CAC82E is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.9% C 0.163 H 108.8°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CAC82E
RGBrgb(202, 200, 46)
HSLhsl(59, 63%, 49%)
HSVhsv(59, 77%, 79%)
CMYKcmyk(0%, 1%, 77.2%, 20.8%)
CIE-LABlab(78.50, -16.17, 70.86)
CIE-LCHlch(78.50, 72.68, 102.85°)
OKLaboklab(80.91% -0.0524 0.1543)
OKLCHoklch(80.91% 0.163 108.8)
XYZxyz(45.5063, 54.0638, 10.6225)
Luminance0.5406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC82E #2E30CA
analogous
#CA7A2E #CAC82E #7ECA2E
triadic
#CAC82E #2ECAC8 #C82ECA
tetradic
#CAC82E #2ECA7A #2E30CA #CA2E7E
square
#CAC82E #2ECA7A #2E30CA #CA2E7E
split-complementary
#CAC82E #2E7ECA #7A2ECA
monochromatic
#666517 #989723 #CAC82E #DAD85B #E5E48D

Accessibility & contrast

On white

1.78
#CAC82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#CAC82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC82E
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC82E#FFFFFF#000000##000000
##CAC82E1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C000
Deuteranopia (green-blind)
#DBC43B
Tritanopia (blue-blind)
#D9BBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac82e;
/* rgb */ color: rgb(202, 200, 46);
/* oklch */ color: oklch(80.9% 0.163 108.8);
Tailwind
colors: {
  custom: {
    50: '#ded874',
    500: '#cac82e',
    950: '#000000',
  },
}
SCSS
$custom: #cac82e;
$custom-light: #ded874;
$custom-dark: #000000;
JSON
{
  "hex": "#cac82e",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 46
  },
  "hsl": {
    "h": 59.231,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.80911,
    "c": 0.16295,
    "h": 108.8
  },
  "luminance": 0.54062
}

Semantic roles & 50–950 ramp

primary
#CAC82E
secondary
#2C2D70
accent
#44E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC82E

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

Preview Lab → · Contrast checker → · Palette generator →

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