#CACD42#CACD42

#CACD42 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.1% C 0.156 H 110.6°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#CACD42
RGBrgb(202, 205, 66)
HSLhsl(61, 58%, 53%)
HSVhsv(61, 68%, 80%)
CMYKcmyk(1.5%, 0%, 67.8%, 19.6%)
CIE-LABlab(79.96, -17.76, 65.49)
CIE-LCHlch(79.96, 67.85, 105.17°)
OKLaboklab(82.12% -0.0551 0.1464)
OKLCHoklch(82.12% 0.156 110.6)
XYZxyz(47.1733, 56.6138, 13.5958)
Luminance0.5661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACD42 #4542CD
analogous
#CD8A42 #CACD42 #84CD42
triadic
#CACD42 #42CACD #CD42CA
tetradic
#CACD42 #42CD8A #4542CD #CD4284
square
#CACD42 #42CD8A #4542CD #CD4284
split-complementary
#CACD42 #4284CD #8A42CD
monochromatic
#74761F #A3A62C #CACD42 #D8DA72 #E5E7A3

Accessibility & contrast

On white

1.70
#CACD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#CACD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACD42
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACD42#FFFFFF#000000##000000
##CACD421.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC42C
Deuteranopia (green-blind)
#DEC84C
Tritanopia (blue-blind)
#D8C0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacd42;
/* rgb */ color: rgb(202, 205, 66);
/* oklch */ color: oklch(82.1% 0.156 110.6);
Tailwind
colors: {
  custom: {
    50: '#dddc7e',
    500: '#cacd42',
    950: '#000000',
  },
}
SCSS
$custom: #cacd42;
$custom-light: #dddc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cacd42",
  "rgb": {
    "r": 202,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 61.295,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82115,
    "c": 0.15642,
    "h": 110.6
  },
  "luminance": 0.56613
}

Semantic roles & 50–950 ramp

primary
#CACD42
secondary
#37357E
accent
#46E14A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CACD42

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

Preview Lab → · Contrast checker → · Palette generator →

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