#CAC82D#CAC82D

#CAC82D 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#CAC82D
RGBrgb(202, 200, 45)
HSLhsl(59, 64%, 48%)
HSVhsv(59, 78%, 79%)
CMYKcmyk(0%, 1%, 77.7%, 20.8%)
CIE-LABlab(78.49, -16.21, 71.15)
CIE-LCHlch(78.49, 72.97, 102.83°)
OKLaboklab(80.91% -0.0526 0.1547)
OKLCHoklch(80.91% 0.163 108.8)
XYZxyz(45.4868, 54.0561, 10.5199)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC82D #2D2FCA
analogous
#CA792D #CAC82D #7DCA2D
triadic
#CAC82D #2DCAC8 #C82DCA
tetradic
#CAC82D #2DCA79 #2D2FCA #CA2D7D
square
#CAC82D #2DCA79 #2D2FCA #CA2D7D
split-complementary
#CAC82D #2D7DCA #792DCA
monochromatic
#666517 #989622 #CAC82D #DAD95A #E5E48C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC82D#FFFFFF#000000##000000
##CAC82D1.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: #cac82d;
/* rgb */ color: rgb(202, 200, 45);
/* oklch */ color: oklch(80.9% 0.163 108.8);
Tailwind
colors: {
  custom: {
    50: '#ded874',
    500: '#cac82d',
    950: '#000000',
  },
}
SCSS
$custom: #cac82d;
$custom-light: #ded874;
$custom-dark: #000000;
JSON
{
  "hex": "#cac82d",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 45
  },
  "hsl": {
    "h": 59.236,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80905,
    "c": 0.16343,
    "h": 108.8
  },
  "luminance": 0.54055
}

Semantic roles & 50–950 ramp

primary
#CAC82D
secondary
#2B2C70
accent
#43E741
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC82D

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

Preview Lab → · Contrast checker → · Palette generator →

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