#CACD40#CACD40

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

Color values

HEX#CACD40
RGBrgb(202, 205, 64)
HSLhsl(61, 59%, 53%)
HSVhsv(61, 69%, 80%)
CMYKcmyk(1.5%, 0%, 68.8%, 19.6%)
CIE-LABlab(79.95, -17.86, 66.22)
CIE-LCHlch(79.95, 68.58, 105.10°)
OKLaboklab(82.1% -0.0555 0.1476)
OKLCHoklch(82.1% 0.158 110.6)
XYZxyz(47.1154, 56.5906, 13.2907)
Luminance0.5659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACD40 #4340CD
analogous
#CD8A40 #CACD40 #83CD40
triadic
#CACD40 #40CACD #CD40CA
tetradic
#CACD40 #40CD8A #4340CD #CD4083
square
#CACD40 #40CD8A #4340CD #CD4083
split-complementary
#CACD40 #4083CD #8A40CD
monochromatic
#72741E #A2A52B #CACD40 #D7DA71 #E5E6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACD40#FFFFFF#000000##000000
##CACD401.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)
#DDC429
Deuteranopia (green-blind)
#DEC84A
Tritanopia (blue-blind)
#D8C0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacd40;
/* rgb */ color: rgb(202, 205, 64);
/* oklch */ color: oklch(82.1% 0.158 110.6);
Tailwind
colors: {
  custom: {
    50: '#dedc7d',
    500: '#cacd40',
    950: '#000000',
  },
}
SCSS
$custom: #cacd40;
$custom-light: #dedc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cacd40",
  "rgb": {
    "r": 202,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 61.277,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.821,
    "c": 0.15773,
    "h": 110.6
  },
  "luminance": 0.56589
}

Semantic roles & 50–950 ramp

primary
#CACD40
secondary
#36347D
accent
#46E249
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CACD40

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

Preview Lab → · Contrast checker → · Palette generator →

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