#CAFF97#CAFF97

#CAFF97 is a very light, vivid yellow-green. Relative luminance 0.863; OKLCH L 94.0% C 0.143 H 130.7°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#CAFF97
RGBrgb(202, 255, 151)
HSLhsl(91, 100%, 80%)
HSVhsv(91, 41%, 100%)
CMYKcmyk(20.8%, 0%, 40.8%, 0%)
CIE-LABlab(94.44, -33.96, 44.29)
CIE-LCHlch(94.44, 55.81, 127.48°)
OKLaboklab(94.03% -0.0933 0.1084)
OKLCHoklch(94.03% 0.143 130.7)
XYZxyz(65.7020, 86.3097, 42.4701)
Luminance0.8631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFF97 #CC97FF
analogous
#FEFF97 #CAFF97 #97FF98
triadic
#CAFF97 #97CAFF #FF97CA
tetradic
#CAFF97 #97FEFF #CC97FF #FF9897
square
#CAFF97 #97FEFF #CC97FF #FF9897
split-complementary
#CAFF97 #9897FF #FF97FE
monochromatic
#8CFF1D #ABFF5A #CAFF97 #E9FFD4 #EFFFE0

Accessibility & contrast

On white

1.15
#CAFF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#CAFF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFF97
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFF97#FFFFFF#000000##000000
##CAFF971.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28F
Deuteranopia (green-blind)
#FFEE9D
Tritanopia (blue-blind)
#CDF7E6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #caff97;
/* rgb */ color: rgb(202, 255, 151);
/* oklch */ color: oklch(94.0% 0.143 130.7);
Tailwind
colors: {
  custom: {
    50: '#dcffb7',
    500: '#caff97',
    950: '#000000',
  },
}
SCSS
$custom: #caff97;
$custom-light: #dcffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#caff97",
  "rgb": {
    "r": 202,
    "g": 255,
    "b": 151
  },
  "hsl": {
    "h": 90.577,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.94026,
    "c": 0.14301,
    "h": 130.7
  },
  "luminance": 0.86311
}

Semantic roles & 50–950 ramp

primary
#CAFF97
secondary
#9E59E2
accent
#00E675
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151811
muted
#848681

Preview Lab

Preview with #CAFF97

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

Preview Lab → · Contrast checker → · Palette generator →

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