#CDF97D#CDF97D

#CDF97D is a very light, vivid yellow-green. Relative luminance 0.822; OKLCH L 92.5% C 0.159 H 125.5°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#CDF97D
RGBrgb(205, 249, 125)
HSLhsl(81, 91%, 73%)
HSVhsv(81, 50%, 98%)
CMYKcmyk(17.7%, 0%, 49.8%, 2.4%)
CIE-LABlab(92.67, -33.01, 54.44)
CIE-LCHlch(92.67, 63.67, 121.23°)
OKLaboklab(92.54% -0.0925 0.1296)
OKLCHoklch(92.54% 0.159 125.5)
XYZxyz(62.7541, 82.2106, 31.9602)
Luminance0.8221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF97D #A97DF9
analogous
#F9E77D #CDF97D #8FF97D
triadic
#CDF97D #7DCDF9 #F97DCD
tetradic
#CDF97D #7DF9E7 #A97DF9 #F97D8F
square
#CDF97D #7DF9E7 #A97DF9 #F97D8F
split-complementary
#CDF97D #7D8FF9 #E77DF9
monochromatic
#9FF00B #B7F642 #CDF97D #E3FCB7 #F4FEE2

Accessibility & contrast

On white

1.20
#CDF97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.44
#CDF97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF97D
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF97D#FFFFFF#000000##000000
##CDF97D1.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC72
Deuteranopia (green-blind)
#FEE984
Tritanopia (blue-blind)
#D4EFDD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cdf97d;
/* rgb */ color: rgb(205, 249, 125);
/* oklch */ color: oklch(92.5% 0.159 125.5);
Tailwind
colors: {
  custom: {
    50: '#defba5',
    500: '#cdf97d',
    950: '#000000',
  },
}
SCSS
$custom: #cdf97d;
$custom-light: #defba5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf97d",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 81.29,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92537,
    "c": 0.1592,
    "h": 125.5
  },
  "luminance": 0.82211
}

Semantic roles & 50–950 ramp

primary
#CDF97D
secondary
#7844D6
accent
#00E651
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF97D

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

Preview Lab → · Contrast checker → · Palette generator →

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