#CDF97E#CDF97E

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

Color values

HEX#CDF97E
RGBrgb(205, 249, 126)
HSLhsl(81, 91%, 74%)
HSVhsv(81, 49%, 98%)
CMYKcmyk(17.7%, 0%, 49.4%, 2.4%)
CIE-LABlab(92.68, -32.91, 53.99)
CIE-LCHlch(92.68, 63.23, 121.37°)
OKLaboklab(92.55% -0.0921 0.1287)
OKLCHoklch(92.55% 0.158 125.6)
XYZxyz(62.8183, 82.2363, 32.2983)
Luminance0.8224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF97E #AA7EF9
analogous
#F9E77E #CDF97E #8FF97E
triadic
#CDF97E #7ECDF9 #F97ECD
tetradic
#CDF97E #7EF9E7 #AA7EF9 #F97E8F
square
#CDF97E #7EF9E7 #AA7EF9 #F97E8F
split-complementary
#CDF97E #7E8FF9 #E77EF9
monochromatic
#9FF10B #B6F644 #CDF97E #E4FCB8 #F4FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDF97E#FFFFFF#000000##000000
##CDF97E1.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)
#FFEC73
Deuteranopia (green-blind)
#FEE985
Tritanopia (blue-blind)
#D4EFDD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cdf97e;
/* rgb */ color: rgb(205, 249, 126);
/* oklch */ color: oklch(92.5% 0.158 125.6);
Tailwind
colors: {
  custom: {
    50: '#defba6',
    500: '#cdf97e',
    950: '#000000',
  },
}
SCSS
$custom: #cdf97e;
$custom-light: #defba6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf97e",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 81.463,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92549,
    "c": 0.15825,
    "h": 125.6
  },
  "luminance": 0.82237
}

Semantic roles & 50–950 ramp

primary
#CDF97E
secondary
#7945D6
accent
#00E652
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CDF97E

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

Preview Lab → · Contrast checker → · Palette generator →

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