#CACC35#CACC35

#CACC35 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#CACC35
RGBrgb(202, 204, 53)
HSLhsl(61, 60%, 50%)
HSVhsv(61, 74%, 80%)
CMYKcmyk(1%, 0%, 74%, 20%)
CIE-LABlab(79.61, -17.88, 69.71)
CIE-LCHlch(79.61, 71.97, 104.39°)
OKLaboklab(81.81% -0.0566 0.1531)
OKLCHoklch(81.81% 0.163 110.3)
XYZxyz(46.5943, 56.0007, 11.7222)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC35 #3735CC
analogous
#CC8335 #CACC35 #7ECC35
triadic
#CACC35 #35CACC #CC35CA
tetradic
#CACC35 #35CC83 #3735CC #CC357E
square
#CACC35 #35CC83 #3735CC #CC357E
split-complementary
#CACC35 #357ECC #8335CC
monochromatic
#6A6B1B #9B9C27 #CACC35 #D7D866 #E4E597

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACC35#FFFFFF#000000##000000
##CACC351.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)
#DCC312
Deuteranopia (green-blind)
#DEC741
Tritanopia (blue-blind)
#D8BFAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacc35;
/* rgb */ color: rgb(202, 204, 53);
/* oklch */ color: oklch(81.8% 0.163 110.3);
Tailwind
colors: {
  custom: {
    50: '#dedb78',
    500: '#cacc35',
    950: '#000000',
  },
}
SCSS
$custom: #cacc35;
$custom-light: #dedb78;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc35",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 53
  },
  "hsl": {
    "h": 60.795,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81813,
    "c": 0.16323,
    "h": 110.3
  },
  "luminance": 0.55999
}

Semantic roles & 50–950 ramp

primary
#CACC35
secondary
#313075
accent
#45E347
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #CACC35

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

Preview Lab → · Contrast checker → · Palette generator →

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