#CDF87A#CDF87A

#CDF87A is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 92.3% C 0.161 H 125.0°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#CDF87A
RGBrgb(205, 248, 122)
HSLhsl(80, 90%, 73%)
HSVhsv(80, 51%, 97%)
CMYKcmyk(17.3%, 0%, 50.8%, 2.7%)
CIE-LABlab(92.36, -32.85, 55.45)
CIE-LCHlch(92.36, 64.45, 120.64°)
OKLaboklab(92.28% -0.0922 0.1316)
OKLCHoklch(92.28% 0.161 125)
XYZxyz(62.2571, 81.5186, 30.8633)
Luminance0.8152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF87A #A57AF8
analogous
#F8E47A #CDF87A #8EF87A
triadic
#CDF87A #7ACDF8 #F87ACD
tetradic
#CDF87A #7AF8E4 #A57AF8 #F87A8E
square
#CDF87A #7AF8E4 #A57AF8 #F87A8E
split-complementary
#CDF87A #7A8EF8 #E47AF8
monochromatic
#9FEB0C #B7F540 #CDF87A #E3FBB4 #F4FDE2

Accessibility & contrast

On white

1.21
#CDF87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.30
#CDF87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF87A
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF87A#FFFFFF#000000##000000
##CDF87A1.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6E
Deuteranopia (green-blind)
#FEE982
Tritanopia (blue-blind)
#D4EEDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf87a;
/* rgb */ color: rgb(205, 248, 122);
/* oklch */ color: oklch(92.3% 0.161 125.0);
Tailwind
colors: {
  custom: {
    50: '#defaa3',
    500: '#cdf87a',
    950: '#000000',
  },
}
SCSS
$custom: #cdf87a;
$custom-light: #defaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf87a",
  "rgb": {
    "r": 205,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 80.476,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.9228,
    "c": 0.16068,
    "h": 125
  },
  "luminance": 0.81519
}

Semantic roles & 50–950 ramp

primary
#CDF87A
secondary
#7442D4
accent
#00E64E
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF87A

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

Preview Lab → · Contrast checker → · Palette generator →

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