#CACC37#CACC37

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

Color values

HEX#CACC37
RGBrgb(202, 204, 55)
HSLhsl(61, 59%, 51%)
HSVhsv(61, 73%, 80%)
CMYKcmyk(1%, 0%, 73%, 20%)
CIE-LABlab(79.62, -17.80, 69.06)
CIE-LCHlch(79.62, 71.32, 104.45°)
OKLaboklab(81.82% -0.0562 0.1521)
OKLCHoklch(81.82% 0.162 110.3)
XYZxyz(46.6412, 56.0194, 11.9696)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC37 #3937CC
analogous
#CC8337 #CACC37 #80CC37
triadic
#CACC37 #37CACC #CC37CA
tetradic
#CACC37 #37CC83 #3937CC #CC3780
square
#CACC37 #37CC83 #3937CC #CC3780
split-complementary
#CACC37 #3780CC #8337CC
monochromatic
#6C6D1C #9C9E28 #CACC37 #D7D868 #E4E599

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACC37#FFFFFF#000000##000000
##CACC371.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)
#DCC317
Deuteranopia (green-blind)
#DEC743
Tritanopia (blue-blind)
#D8BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacc37;
/* rgb */ color: rgb(202, 204, 55);
/* oklch */ color: oklch(81.8% 0.162 110.3);
Tailwind
colors: {
  custom: {
    50: '#dedb79',
    500: '#cacc37',
    950: '#000000',
  },
}
SCSS
$custom: #cacc37;
$custom-light: #dedb79;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc37",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 55
  },
  "hsl": {
    "h": 60.805,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81824,
    "c": 0.16214,
    "h": 110.3
  },
  "luminance": 0.56018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CACC37

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

Preview Lab → · Contrast checker → · Palette generator →

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