#CFFE97#CFFE97

#CFFE97 is a very light, vivid yellow-green. Relative luminance 0.864; OKLCH L 94.1% C 0.139 H 128.8°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#CFFE97
RGBrgb(207, 254, 151)
HSLhsl(87, 98%, 79%)
HSVhsv(87, 41%, 100%)
CMYKcmyk(18.5%, 0%, 40.6%, 0.4%)
CIE-LABlab(94.48, -31.73, 44.39)
CIE-LCHlch(94.48, 54.57, 125.56°)
OKLaboklab(94.13% -0.0873 0.1086)
OKLCHoklch(94.13% 0.139 128.8)
XYZxyz(66.7591, 86.3824, 42.4285)
Luminance0.8638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFFE97 #C697FE
analogous
#FEFA97 #CFFE97 #9CFE97
triadic
#CFFE97 #97CFFE #FE97CF
tetradic
#CFFE97 #97FEFA #C697FE #FE979C
square
#CFFE97 #97FEFA #C697FE #FE979C
split-complementary
#CFFE97 #979CFE #FA97FE
monochromatic
#97FD1E #B3FD5A #CFFE97 #EBFFD4 #F1FFE1

Accessibility & contrast

On white

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

On black

18.28
#CFFE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFFE97
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFFE97#FFFFFF#000000##000000
##CFFE971.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cffe97;
/* rgb */ color: rgb(207, 254, 151);
/* oklch */ color: oklch(94.1% 0.139 128.8);
Tailwind
colors: {
  custom: {
    50: '#dfffb7',
    500: '#cffe97',
    950: '#000000',
  },
}
SCSS
$custom: #cffe97;
$custom-light: #dfffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cffe97",
  "rgb": {
    "r": 207,
    "g": 254,
    "b": 151
  },
  "hsl": {
    "h": 87.379,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.94129,
    "c": 0.13929,
    "h": 128.8
  },
  "luminance": 0.86383
}

Semantic roles & 50–950 ramp

primary
#CFFE97
secondary
#9759E0
accent
#00E669
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151811
muted
#848681

Preview Lab

Preview with #CFFE97

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

Preview Lab → · Contrast checker → · Palette generator →

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