#CACD2C#CACD2C

#CACD2C is a light, vivid yellow. Relative luminance 0.564; OKLCH L 82.0% C 0.169 H 110.7°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#CACD2C
RGBrgb(202, 205, 44)
HSLhsl(61, 65%, 49%)
HSVhsv(61, 79%, 80%)
CMYKcmyk(1.5%, 0%, 78.5%, 19.6%)
CIE-LABlab(79.84, -18.72, 72.63)
CIE-LCHlch(79.84, 75.01, 104.46°)
OKLaboklab(81.98% -0.0597 0.1577)
OKLCHoklch(81.98% 0.169 110.7)
XYZxyz(46.6448, 56.4024, 10.8120)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACD2C #2F2CCD
analogous
#CD802C #CACD2C #7ACD2C
triadic
#CACD2C #2CCACD #CD2CCA
tetradic
#CACD2C #2CCD80 #2F2CCD #CD2C7A
square
#CACD2C #2CCD80 #2F2CCD #CD2C7A
split-complementary
#CACD2C #2C7ACD #802CCD
monochromatic
#676816 #989B21 #CACD2C #D9DC5B #E5E78D

Accessibility & contrast

On white

1.71
#CACD2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#CACD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACD2C
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACD2C#FFFFFF#000000##000000
##CACD2C1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#DFC83B
Tritanopia (blue-blind)
#D8C0B0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacd2c;
/* rgb */ color: rgb(202, 205, 44);
/* oklch */ color: oklch(82.0% 0.169 110.7);
Tailwind
colors: {
  custom: {
    50: '#dedc74',
    500: '#cacd2c',
    950: '#000000',
  },
}
SCSS
$custom: #cacd2c;
$custom-light: #dedc74;
$custom-dark: #000000;
JSON
{
  "hex": "#cacd2c",
  "rgb": {
    "r": 202,
    "g": 205,
    "b": 44
  },
  "hsl": {
    "h": 61.118,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81981,
    "c": 0.16865,
    "h": 110.7
  },
  "luminance": 0.56401
}

Semantic roles & 50–950 ramp

primary
#CACD2C
secondary
#2C2B72
accent
#40E843
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CACD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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