#CACC33#CACC33

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

Color values

HEX#CACC33
RGBrgb(202, 204, 51)
HSLhsl(61, 60%, 50%)
HSVhsv(61, 75%, 80%)
CMYKcmyk(1%, 0%, 75%, 20%)
CIE-LABlab(79.60, -17.97, 70.34)
CIE-LCHlch(79.60, 72.60, 104.33°)
OKLaboklab(81.8% -0.057 0.1541)
OKLCHoklch(81.8% 0.164 110.3)
XYZxyz(46.5492, 55.9826, 11.4850)
Luminance0.5598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC33 #3533CC
analogous
#CC8133 #CACC33 #7ECC33
triadic
#CACC33 #33CACC #CC33CA
tetradic
#CACC33 #33CC81 #3533CC #CC337E
square
#CACC33 #33CC81 #3533CC #CC337E
split-complementary
#CACC33 #337ECC #8133CC
monochromatic
#696A1B #9A9B27 #CACC33 #D7D864 #E3E495

Accessibility & contrast

On white

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

On black

12.20
#CACC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACC33
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACC33#FFFFFF#000000##000000
##CACC331.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cacc33;
/* rgb */ color: rgb(202, 204, 51);
/* oklch */ color: oklch(81.8% 0.164 110.3);
Tailwind
colors: {
  custom: {
    50: '#dedb77',
    500: '#cacc33',
    950: '#000000',
  },
}
SCSS
$custom: #cacc33;
$custom-light: #dedb77;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc33",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 51
  },
  "hsl": {
    "h": 60.784,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.81801,
    "c": 0.1643,
    "h": 110.3
  },
  "luminance": 0.55981
}

Semantic roles & 50–950 ramp

primary
#CACC33
secondary
#302F74
accent
#45E347
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CACC33

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

Preview Lab → · Contrast checker → · Palette generator →

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