#CACF41#CACF41

#CACF41 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.5% C 0.159 H 111.4°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#CACF41
RGBrgb(202, 207, 65)
HSLhsl(62, 60%, 53%)
HSVhsv(62, 69%, 81%)
CMYKcmyk(2.4%, 0%, 68.6%, 18.8%)
CIE-LABlab(80.50, -18.80, 66.39)
CIE-LCHlch(80.50, 69.00, 105.81°)
OKLaboklab(82.54% -0.0581 0.1482)
OKLCHoklch(82.54% 0.159 111.4)
XYZxyz(47.6256, 57.5650, 13.6024)
Luminance0.5756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACF41 #4641CF
analogous
#CF8D41 #CACF41 #83CF41
triadic
#CACF41 #41CACF #CF41CA
tetradic
#CACF41 #41CF8D #4641CF #CF4183
square
#CACF41 #41CF8D #4641CF #CF4183
split-complementary
#CACF41 #4183CF #8D41CF
monochromatic
#74771E #A4A82B #CACF41 #D8DB72 #E5E8A3

Accessibility & contrast

On white

1.68
#CACF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#CACF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACF41
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACF41#FFFFFF#000000##000000
##CACF411.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62A
Deuteranopia (green-blind)
#E0CA4B
Tritanopia (blue-blind)
#D8C2B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cacf41;
/* rgb */ color: rgb(202, 207, 65);
/* oklch */ color: oklch(82.5% 0.159 111.4);
Tailwind
colors: {
  custom: {
    50: '#dedd7e',
    500: '#cacf41',
    950: '#000000',
  },
}
SCSS
$custom: #cacf41;
$custom-light: #dedd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cacf41",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 65
  },
  "hsl": {
    "h": 62.113,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.8254,
    "c": 0.15913,
    "h": 111.4
  },
  "luminance": 0.57564
}

Semantic roles & 50–950 ramp

primary
#CACF41
secondary
#373480
accent
#45E34B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CACF41

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

Preview Lab → · Contrast checker → · Palette generator →

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