#CAFC76#CAFC76

#CAFC76 is a very light, vivid yellow-green. Relative luminance 0.835; OKLCH L 92.9% C 0.171 H 126.5°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#CAFC76
RGBrgb(202, 252, 118)
HSLhsl(82, 96%, 73%)
HSVhsv(82, 53%, 99%)
CMYKcmyk(19.8%, 0%, 53.2%, 1.2%)
CIE-LABlab(93.23, -36.15, 58.24)
CIE-LCHlch(93.23, 68.55, 121.83°)
OKLaboklab(92.92% -0.1016 0.1373)
OKLCHoklch(92.92% 0.171 126.5)
XYZxyz(62.4374, 83.4846, 29.9607)
Luminance0.8348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFC76 #A876FC
analogous
#FCEB76 #CAFC76 #87FC76
triadic
#CAFC76 #76CAFC #FC76CA
tetradic
#CAFC76 #76FCEB #A876FC #FC7687
square
#CAFC76 #76FCEB #A876FC #FC7687
split-complementary
#CAFC76 #7687FC #EB76FC
monochromatic
#9AF205 #B3FB3A #CAFC76 #E1FDB2 #F3FEE1

Accessibility & contrast

On white

1.19
#CAFC76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.70
#CAFC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFC76
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFC76#FFFFFF#000000##000000
##CAFC761.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE69
Deuteranopia (green-blind)
#FFEB7E
Tritanopia (blue-blind)
#D1F2DE
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #cafc76;
/* rgb */ color: rgb(202, 252, 118);
/* oklch */ color: oklch(92.9% 0.171 126.5);
Tailwind
colors: {
  custom: {
    50: '#ddfda1',
    500: '#cafc76',
    950: '#000000',
  },
}
SCSS
$custom: #cafc76;
$custom-light: #ddfda1;
$custom-dark: #000000;
JSON
{
  "hex": "#cafc76",
  "rgb": {
    "r": 202,
    "g": 252,
    "b": 118
  },
  "hsl": {
    "h": 82.388,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92915,
    "c": 0.17084,
    "h": 126.5
  },
  "luminance": 0.83485
}

Semantic roles & 50–950 ramp

primary
#CAFC76
secondary
#773DD9
accent
#00E656
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAFC76

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

Preview Lab → · Contrast checker → · Palette generator →

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