#CFFD97#CFFD97

#CFFD97 is a very light, vivid yellow-green. Relative luminance 0.858; OKLCH L 93.9% C 0.138 H 128.6°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#CFFD97
RGBrgb(207, 253, 151)
HSLhsl(87, 96%, 79%)
HSVhsv(87, 40%, 99%)
CMYKcmyk(18.2%, 0%, 40.3%, 0.8%)
CIE-LABlab(94.21, -31.27, 44.05)
CIE-LCHlch(94.21, 54.02, 125.37°)
OKLaboklab(93.91% -0.086 0.1078)
OKLCHoklch(93.91% 0.138 128.6)
XYZxyz(66.4426, 85.7494, 42.3230)
Luminance0.8575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFFD97 #C597FD
analogous
#FDF897 #CFFD97 #9CFD97
triadic
#CFFD97 #97CFFD #FD97CF
tetradic
#CFFD97 #97FDF8 #C597FD #FD979C
square
#CFFD97 #97FDF8 #C597FD #FD979C
split-complementary
#CFFD97 #979CFD #F897FD
monochromatic
#98FB1F #B3FC5B #CFFD97 #EBFED3 #F1FEE1

Accessibility & contrast

On white

1.16
#CFFD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.15
#CFFD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFFD97
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFFD97#FFFFFF#000000##000000
##CFFD971.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF08F
Deuteranopia (green-blind)
#FFED9C
Tritanopia (blue-blind)
#D3F5E4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #cffd97;
/* rgb */ color: rgb(207, 253, 151);
/* oklch */ color: oklch(93.9% 0.138 128.6);
Tailwind
colors: {
  custom: {
    50: '#dffeb7',
    500: '#cffd97',
    950: '#000000',
  },
}
SCSS
$custom: #cffd97;
$custom-light: #dffeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cffd97",
  "rgb": {
    "r": 207,
    "g": 253,
    "b": 151
  },
  "hsl": {
    "h": 87.059,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.93912,
    "c": 0.13788,
    "h": 128.6
  },
  "luminance": 0.8575
}

Semantic roles & 50–950 ramp

primary
#CFFD97
secondary
#9659DF
accent
#00E668
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CFFD97

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

Preview Lab → · Contrast checker → · Palette generator →

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