#CACC3D#CACC3D

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

Color values

HEX#CACC3D
RGBrgb(202, 204, 61)
HSLhsl(61, 58%, 52%)
HSVhsv(61, 70%, 80%)
CMYKcmyk(1%, 0%, 70.1%, 20%)
CIE-LABlab(79.66, -17.52, 67.02)
CIE-LCHlch(79.66, 69.27, 104.65°)
OKLaboklab(81.86% -0.0549 0.1488)
OKLCHoklch(81.86% 0.159 110.2)
XYZxyz(46.7939, 56.0805, 12.7736)
Luminance0.5608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC3D #3F3DCC
analogous
#CC873D #CACC3D #83CC3D
triadic
#CACC3D #3DCACC #CC3DCA
tetradic
#CACC3D #3DCC87 #3F3DCC #CC3D83
square
#CACC3D #3DCC87 #3F3DCC #CC3D83
split-complementary
#CACC3D #3D83CC #873DCC
monochromatic
#70711E #A0A12A #CACC3D #D7D96D #E4E59E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACC3D#FFFFFF#000000##000000
##CACC3D1.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)
#DCC324
Deuteranopia (green-blind)
#DDC748
Tritanopia (blue-blind)
#D8BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cacc3d;
/* rgb */ color: rgb(202, 204, 61);
/* oklch */ color: oklch(81.9% 0.159 110.2);
Tailwind
colors: {
  custom: {
    50: '#dedb7c',
    500: '#cacc3d',
    950: '#000000',
  },
}
SCSS
$custom: #cacc3d;
$custom-light: #dedb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc3d",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 61
  },
  "hsl": {
    "h": 60.839,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81863,
    "c": 0.15861,
    "h": 110.2
  },
  "luminance": 0.56079
}

Semantic roles & 50–950 ramp

primary
#CACC3D
secondary
#34337A
accent
#46E248
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CACC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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