#CDFD97#CDFD97

#CDFD97 is a very light, vivid yellow-green. Relative luminance 0.855; OKLCH L 93.8% C 0.139 H 129.3°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#CDFD97
RGBrgb(205, 253, 151)
HSLhsl(88, 96%, 79%)
HSVhsv(88, 40%, 99%)
CMYKcmyk(19%, 0%, 40.3%, 0.8%)
CIE-LABlab(94.08, -31.98, 43.87)
CIE-LCHlch(94.08, 54.29, 126.09°)
OKLaboklab(93.78% -0.0879 0.1074)
OKLCHoklch(93.78% 0.139 129.3)
XYZxyz(65.8872, 85.4630, 42.2969)
Luminance0.8546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDFD97 #C797FD
analogous
#FDFA97 #CDFD97 #9AFD97
triadic
#CDFD97 #97CDFD #FD97CD
tetradic
#CDFD97 #97FDFA #C797FD #FD979A
square
#CDFD97 #97FDFA #C797FD #FD979A
split-complementary
#CDFD97 #979AFD #FA97FD
monochromatic
#93FB1F #B0FC5B #CDFD97 #EAFED3 #F1FEE1

Accessibility & contrast

On white

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

On black

18.09
#CDFD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDFD97
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDFD97#FFFFFF#000000##000000
##CDFD971.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdfd97;
/* rgb */ color: rgb(205, 253, 151);
/* oklch */ color: oklch(93.8% 0.139 129.3);
Tailwind
colors: {
  custom: {
    50: '#defeb7',
    500: '#cdfd97',
    950: '#000000',
  },
}
SCSS
$custom: #cdfd97;
$custom-light: #defeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdfd97",
  "rgb": {
    "r": 205,
    "g": 253,
    "b": 151
  },
  "hsl": {
    "h": 88.235,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.93782,
    "c": 0.13877,
    "h": 129.3
  },
  "luminance": 0.85464
}

Semantic roles & 50–950 ramp

primary
#CDFD97
secondary
#9859DF
accent
#00E66C
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDFD97

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

Preview Lab → · Contrast checker → · Palette generator →

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