#CAFC8A#CAFC8A

#CAFC8A is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.2% C 0.152 H 128.4°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#CAFC8A
RGBrgb(202, 252, 138)
HSLhsl(86, 95%, 76%)
HSVhsv(86, 45%, 99%)
CMYKcmyk(19.8%, 0%, 45.2%, 1.2%)
CIE-LABlab(93.46, -34.11, 49.28)
CIE-LCHlch(93.46, 59.93, 124.69°)
OKLaboklab(93.17% -0.0945 0.119)
OKLCHoklch(93.17% 0.152 128.4)
XYZxyz(63.7544, 84.0114, 36.8968)
Luminance0.8401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFC8A #BC8AFC
analogous
#FCF58A #CAFC8A #91FC8A
triadic
#CAFC8A #8ACAFC #FC8ACA
tetradic
#CAFC8A #8AFCF5 #BC8AFC #FC8A91
square
#CAFC8A #8AFCF5 #BC8AFC #FC8A91
split-complementary
#CAFC8A #8A91FC #F58AFC
monochromatic
#94F913 #AFFA4E #CAFC8A #E5FEC6 #F1FEE1

Accessibility & contrast

On white

1.18
#CAFC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.80
#CAFC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFC8A
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFC8A#FFFFFF#000000##000000
##CAFC8A1.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE81
Deuteranopia (green-blind)
#FFEB91
Tritanopia (blue-blind)
#CFF3E1
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #cafc8a;
/* rgb */ color: rgb(202, 252, 138);
/* oklch */ color: oklch(93.2% 0.152 128.4);
Tailwind
colors: {
  custom: {
    50: '#dcfdae',
    500: '#cafc8a',
    950: '#000000',
  },
}
SCSS
$custom: #cafc8a;
$custom-light: #dcfdae;
$custom-dark: #000000;
JSON
{
  "hex": "#cafc8a",
  "rgb": {
    "r": 202,
    "g": 252,
    "b": 138
  },
  "hsl": {
    "h": 86.316,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.93174,
    "c": 0.15195,
    "h": 128.4
  },
  "luminance": 0.84012
}

Semantic roles & 50–950 ramp

primary
#CAFC8A
secondary
#8C4FDC
accent
#00E665
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CAFC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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