#CACC32#CACC32

#CACC32 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.8% C 0.165 H 110.3°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#CACC32
RGBrgb(202, 204, 50)
HSLhsl(61, 61%, 50%)
HSVhsv(61, 75%, 80%)
CMYKcmyk(1%, 0%, 75.5%, 20%)
CIE-LABlab(79.60, -18.01, 70.64)
CIE-LCHlch(79.60, 72.90, 104.30°)
OKLaboklab(81.8% -0.0572 0.1546)
OKLCHoklch(81.8% 0.165 110.3)
XYZxyz(46.5274, 55.9739, 11.3701)
Luminance0.5597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC32 #3432CC
analogous
#CC8132 #CACC32 #7DCC32
triadic
#CACC32 #32CACC #CC32CA
tetradic
#CACC32 #32CC81 #3432CC #CC327D
square
#CACC32 #32CC81 #3432CC #CC327D
split-complementary
#CACC32 #327DCC #8132CC
monochromatic
#696A1A #999B26 #CACC32 #D7D963 #E4E594

Accessibility & contrast

On white

1.72
#CACC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#CACC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACC32
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACC32#FFFFFF#000000##000000
##CACC321.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC307
Deuteranopia (green-blind)
#DEC73F
Tritanopia (blue-blind)
#D8BFAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacc32;
/* rgb */ color: rgb(202, 204, 50);
/* oklch */ color: oklch(81.8% 0.165 110.3);
Tailwind
colors: {
  custom: {
    50: '#dedb76',
    500: '#cacc32',
    950: '#000000',
  },
}
SCSS
$custom: #cacc32;
$custom-light: #dedb76;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc32",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 50
  },
  "hsl": {
    "h": 60.779,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.81796,
    "c": 0.1648,
    "h": 110.3
  },
  "luminance": 0.55973
}

Semantic roles & 50–950 ramp

primary
#CACC32
secondary
#302F74
accent
#44E446
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CACC32

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

Preview Lab → · Contrast checker → · Palette generator →

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