#CAC82C#CAC82C

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

Color values

HEX#CAC82C
RGBrgb(202, 200, 44)
HSLhsl(59, 64%, 48%)
HSVhsv(59, 78%, 79%)
CMYKcmyk(0%, 1%, 78.2%, 20.8%)
CIE-LABlab(78.49, -16.24, 71.43)
CIE-LCHlch(78.49, 73.26, 102.81°)
OKLaboklab(80.9% -0.0528 0.1552)
OKLCHoklch(80.9% 0.164 108.8)
XYZxyz(45.4678, 54.0484, 10.4197)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC82C #2C2ECA
analogous
#CA792C #CAC82C #7DCA2C
triadic
#CAC82C #2CCAC8 #C82CCA
tetradic
#CAC82C #2CCA79 #2C2ECA #CA2C7D
square
#CAC82C #2CCA79 #2C2ECA #CA2C7D
split-complementary
#CAC82C #2C7DCA #792CCA
monochromatic
#656416 #989621 #CAC82C #DBD958 #E6E58B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC82C#FFFFFF#000000##000000
##CAC82C1.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)
#DBC43A
Tritanopia (blue-blind)
#D9BBAB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac82c;
/* rgb */ color: rgb(202, 200, 44);
/* oklch */ color: oklch(80.9% 0.164 108.8);
Tailwind
colors: {
  custom: {
    50: '#ded873',
    500: '#cac82c',
    950: '#000000',
  },
}
SCSS
$custom: #cac82c;
$custom-light: #ded873;
$custom-dark: #000000;
JSON
{
  "hex": "#cac82c",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 44
  },
  "hsl": {
    "h": 59.241,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.809,
    "c": 0.16389,
    "h": 108.8
  },
  "luminance": 0.54047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC82C

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

Preview Lab → · Contrast checker → · Palette generator →

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