#CDFD98#CDFD98

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

Color values

HEX#CDFD98
RGBrgb(205, 253, 152)
HSLhsl(89, 96%, 79%)
HSVhsv(89, 40%, 99%)
CMYKcmyk(19%, 0%, 39.9%, 0.8%)
CIE-LABlab(94.10, -31.86, 43.40)
CIE-LCHlch(94.10, 53.84, 126.28°)
OKLaboklab(93.8% -0.0875 0.1063)
OKLCHoklch(93.8% 0.138 129.5)
XYZxyz(65.9687, 85.4957, 42.7264)
Luminance0.8550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDFD98 #C898FD
analogous
#FDFB98 #CDFD98 #9BFD98
triadic
#CDFD98 #98CDFD #FD98CD
tetradic
#CDFD98 #98FDFB #C898FD #FD989B
square
#CDFD98 #98FDFB #C898FD #FD989B
split-complementary
#CDFD98 #989BFD #FB98FD
monochromatic
#93FB20 #B0FC5C #CDFD98 #EAFED4 #F0FEE1

Accessibility & contrast

On white

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

On black

18.10
#CDFD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDFD98
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDFD98#FFFFFF#000000##000000
##CDFD981.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdfd98;
/* rgb */ color: rgb(205, 253, 152);
/* oklch */ color: oklch(93.8% 0.138 129.5);
Tailwind
colors: {
  custom: {
    50: '#defeb7',
    500: '#cdfd98',
    950: '#000000',
  },
}
SCSS
$custom: #cdfd98;
$custom-light: #defeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdfd98",
  "rgb": {
    "r": 205,
    "g": 253,
    "b": 152
  },
  "hsl": {
    "h": 88.515,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.93797,
    "c": 0.13772,
    "h": 129.5
  },
  "luminance": 0.85497
}

Semantic roles & 50–950 ramp

primary
#CDFD98
secondary
#995ADF
accent
#00E66D
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDFD98

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

Preview Lab → · Contrast checker → · Palette generator →

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