#CACE40#CACE40

#CACE40 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.3% C 0.159 H 111.0°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#CACE40
RGBrgb(202, 206, 64)
HSLhsl(62, 59%, 53%)
HSVhsv(62, 69%, 81%)
CMYKcmyk(1.9%, 0%, 68.9%, 19.2%)
CIE-LABlab(80.22, -18.36, 66.49)
CIE-LCHlch(80.22, 68.97, 105.43°)
OKLaboklab(82.32% -0.0569 0.1482)
OKLCHoklch(82.32% 0.159 111)
XYZxyz(47.3554, 57.0706, 13.3707)
Luminance0.5707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACE40 #4440CE
analogous
#CE8B40 #CACE40 #83CE40
triadic
#CACE40 #40CACE #CE40CA
tetradic
#CACE40 #40CE8B #4440CE #CE4083
square
#CACE40 #40CE8B #4440CE #CE4083
split-complementary
#CACE40 #4083CE #8B40CE
monochromatic
#73751E #A3A62B #CACE40 #D8DA71 #E5E7A1

Accessibility & contrast

On white

1.69
#CACE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#CACE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACE40
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACE40#FFFFFF#000000##000000
##CACE401.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC529
Deuteranopia (green-blind)
#DFC94A
Tritanopia (blue-blind)
#D8C1B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cace40;
/* rgb */ color: rgb(202, 206, 64);
/* oklch */ color: oklch(82.3% 0.159 111.0);
Tailwind
colors: {
  custom: {
    50: '#dedc7d',
    500: '#cace40',
    950: '#000000',
  },
}
SCSS
$custom: #cace40;
$custom-light: #dedc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cace40",
  "rgb": {
    "r": 202,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 61.69,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82317,
    "c": 0.15875,
    "h": 111
  },
  "luminance": 0.57069
}

Semantic roles & 50–950 ramp

primary
#CACE40
secondary
#36347E
accent
#45E24A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CACE40

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

Preview Lab → · Contrast checker → · Palette generator →

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