#CACC41#CACC41

#CACC41 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.9% C 0.156 H 110.2°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CACC41
RGBrgb(202, 204, 65)
HSLhsl(61, 58%, 53%)
HSVhsv(61, 68%, 80%)
CMYKcmyk(1%, 0%, 68.1%, 20%)
CIE-LABlab(79.69, -17.31, 65.59)
CIE-LCHlch(79.69, 67.83, 104.79°)
OKLaboklab(81.89% -0.0539 0.1465)
OKLCHoklch(81.89% 0.156 110.2)
XYZxyz(46.9057, 56.1252, 13.3624)
Luminance0.5612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC41 #4341CC
analogous
#CC8841 #CACC41 #85CC41
triadic
#CACC41 #41CACC #CC41CA
tetradic
#CACC41 #41CC88 #4341CC #CC4185
square
#CACC41 #41CC88 #4341CC #CC4185
split-complementary
#CACC41 #4185CC #8841CC
monochromatic
#72741F #A2A42C #CACC41 #D7D971 #E5E6A1

Accessibility & contrast

On white

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

On black

12.22
#CACC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACC41
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACC41#FFFFFF#000000##000000
##CACC411.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC32B
Deuteranopia (green-blind)
#DDC74B
Tritanopia (blue-blind)
#D8BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacc41;
/* rgb */ color: rgb(202, 204, 65);
/* oklch */ color: oklch(81.9% 0.156 110.2);
Tailwind
colors: {
  custom: {
    50: '#dedb7e',
    500: '#cacc41',
    950: '#000000',
  },
}
SCSS
$custom: #cacc41;
$custom-light: #dedb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc41",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 65
  },
  "hsl": {
    "h": 60.863,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81892,
    "c": 0.15606,
    "h": 110.2
  },
  "luminance": 0.56124
}

Semantic roles & 50–950 ramp

primary
#CACC41
secondary
#36357C
accent
#47E149
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CACC41

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

Preview Lab → · Contrast checker → · Palette generator →

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