#CACC36#CACC36

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

Color values

HEX#CACC36
RGBrgb(202, 204, 54)
HSLhsl(61, 60%, 51%)
HSVhsv(61, 74%, 80%)
CMYKcmyk(1%, 0%, 73.5%, 20%)
CIE-LABlab(79.62, -17.84, 69.39)
CIE-LCHlch(79.62, 71.64, 104.42°)
OKLaboklab(81.82% -0.0564 0.1526)
OKLCHoklch(81.82% 0.163 110.3)
XYZxyz(46.6175, 56.0100, 11.8447)
Luminance0.5601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC36 #3836CC
analogous
#CC8336 #CACC36 #7FCC36
triadic
#CACC36 #36CACC #CC36CA
tetradic
#CACC36 #36CC83 #3836CC #CC367F
square
#CACC36 #36CC83 #3836CC #CC367F
split-complementary
#CACC36 #367FCC #8336CC
monochromatic
#6B6C1B #9B9D28 #CACC36 #D7D867 #E4E598

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACC36#FFFFFF#000000##000000
##CACC361.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)
#DCC315
Deuteranopia (green-blind)
#DEC742
Tritanopia (blue-blind)
#D8BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacc36;
/* rgb */ color: rgb(202, 204, 54);
/* oklch */ color: oklch(81.8% 0.163 110.3);
Tailwind
colors: {
  custom: {
    50: '#dedb78',
    500: '#cacc36',
    950: '#000000',
  },
}
SCSS
$custom: #cacc36;
$custom-light: #dedb78;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc36",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 54
  },
  "hsl": {
    "h": 60.8,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.81818,
    "c": 0.16269,
    "h": 110.3
  },
  "luminance": 0.56009
}

Semantic roles & 50–950 ramp

primary
#CACC36
secondary
#313076
accent
#45E347
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CACC36

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

Preview Lab → · Contrast checker → · Palette generator →

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