#CDE97E#CDE97E

#CDE97E is a very light, vivid yellow-green. Relative luminance 0.728; OKLCH L 89.1% C 0.137 H 121.3°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#CDE97E
RGBrgb(205, 233, 126)
HSLhsl(76, 71%, 70%)
HSVhsv(76, 46%, 91%)
CMYKcmyk(12%, 0%, 45.9%, 8.6%)
CIE-LABlab(88.33, -25.42, 48.71)
CIE-LCHlch(88.33, 54.95, 117.56°)
OKLaboklab(89.06% -0.0711 0.117)
OKLCHoklch(89.06% 0.137 121.3)
XYZxyz(58.0818, 72.7634, 30.7195)
Luminance0.7276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE97E #9A7EE9
analogous
#E9CF7E #CDE97E #97E97E
triadic
#CDE97E #7ECDE9 #E97ECD
tetradic
#CDE97E #7EE9CF #9A7EE9 #E97E97
square
#CDE97E #7EE9CF #9A7EE9 #E97E97
split-complementary
#CDE97E #7E97E9 #CF7EE9
monochromatic
#9ECA22 #B9E04A #CDE97E #E1F2B2 #F5FBE5

Accessibility & contrast

On white

1.35
#CDE97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#CDE97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE97E
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE97E#FFFFFF#000000##000000
##CDE97E1.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE75
Deuteranopia (green-blind)
#F1DE84
Tritanopia (blue-blind)
#D5DFD0
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cde97e;
/* rgb */ color: rgb(205, 233, 126);
/* oklch */ color: oklch(89.1% 0.137 121.3);
Tailwind
colors: {
  custom: {
    50: '#def0a5',
    500: '#cde97e',
    950: '#000000',
  },
}
SCSS
$custom: #cde97e;
$custom-light: #def0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cde97e",
  "rgb": {
    "r": 205,
    "g": 233,
    "b": 126
  },
  "hsl": {
    "h": 75.701,
    "s": 70.861,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89058,
    "c": 0.1369,
    "h": 121.3
  },
  "luminance": 0.72763
}

Semantic roles & 50–950 ramp

primary
#CDE97E
secondary
#6949C2
accent
#13D345
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CDE97E

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

Preview Lab → · Contrast checker → · Palette generator →

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