#CDF97F#CDF97F

#CDF97F is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.6% C 0.157 H 125.7°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#CDF97F
RGBrgb(205, 249, 127)
HSLhsl(82, 91%, 74%)
HSVhsv(82, 49%, 98%)
CMYKcmyk(17.7%, 0%, 49%, 2.4%)
CIE-LABlab(92.69, -32.81, 53.55)
CIE-LCHlch(92.69, 62.80, 121.50°)
OKLaboklab(92.56% -0.0918 0.1278)
OKLCHoklch(92.56% 0.157 125.7)
XYZxyz(62.8831, 82.2622, 32.6398)
Luminance0.8226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF97F #AB7FF9
analogous
#F9E87F #CDF97F #90F97F
triadic
#CDF97F #7FCDF9 #F97FCD
tetradic
#CDF97F #7FF9E8 #AB7FF9 #F97F90
square
#CDF97F #7FF9E8 #AB7FF9 #F97F90
split-complementary
#CDF97F #7F90F9 #E87FF9
monochromatic
#9FF20B #B6F645 #CDF97F #E4FCB9 #F4FEE2

Accessibility & contrast

On white

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

On black

17.45
#CDF97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF97F
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF97F#FFFFFF#000000##000000
##CDF97F1.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdf97f;
/* rgb */ color: rgb(205, 249, 127);
/* oklch */ color: oklch(92.6% 0.157 125.7);
Tailwind
colors: {
  custom: {
    50: '#defba7',
    500: '#cdf97f',
    950: '#000000',
  },
}
SCSS
$custom: #cdf97f;
$custom-light: #defba7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf97f",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 127
  },
  "hsl": {
    "h": 81.639,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92562,
    "c": 0.15729,
    "h": 125.7
  },
  "luminance": 0.82263
}

Semantic roles & 50–950 ramp

primary
#CDF97F
secondary
#7A46D6
accent
#00E653
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CDF97F

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

Preview Lab → · Contrast checker → · Palette generator →

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