#CDFF97#CDFF97

#CDFF97 is a very light, vivid yellow-green. Relative luminance 0.867; OKLCH L 94.2% C 0.142 H 129.7°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#CDFF97
RGBrgb(205, 255, 151)
HSLhsl(89, 100%, 80%)
HSVhsv(89, 41%, 100%)
CMYKcmyk(19.6%, 0%, 40.8%, 0%)
CIE-LABlab(94.62, -32.90, 44.56)
CIE-LCHlch(94.62, 55.39, 126.44°)
OKLaboklab(94.22% -0.0905 0.109)
OKLCHoklch(94.22% 0.142 129.7)
XYZxyz(66.5219, 86.7324, 42.5085)
Luminance0.8673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDFF97 #C997FF
analogous
#FFFD97 #CDFF97 #99FF97
triadic
#CDFF97 #97CDFF #FF97CD
tetradic
#CDFF97 #97FFFD #C997FF #FF9799
square
#CDFF97 #97FFFD #C997FF #FF9799
split-complementary
#CDFF97 #9799FF #FD97FF
monochromatic
#92FF1D #B0FF5A #CDFF97 #EAFFD4 #F0FFE0

Accessibility & contrast

On white

1.14
#CDFF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.35
#CDFF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDFF97
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDFF97#FFFFFF#000000##000000
##CDFF971.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdff97;
/* rgb */ color: rgb(205, 255, 151);
/* oklch */ color: oklch(94.2% 0.142 129.7);
Tailwind
colors: {
  custom: {
    50: '#deffb7',
    500: '#cdff97',
    950: '#000000',
  },
}
SCSS
$custom: #cdff97;
$custom-light: #deffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdff97",
  "rgb": {
    "r": 205,
    "g": 255,
    "b": 151
  },
  "hsl": {
    "h": 88.846,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.94218,
    "c": 0.14162,
    "h": 129.7
  },
  "luminance": 0.86734
}

Semantic roles & 50–950 ramp

primary
#CDFF97
secondary
#9A59E2
accent
#00E66E
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151811
muted
#848681

Preview Lab

Preview with #CDFF97

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

Preview Lab → · Contrast checker → · Palette generator →

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