#CDF87E#CDF87E

#CDF87E is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.3% C 0.157 H 125.4°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#CDF87E
RGBrgb(205, 248, 126)
HSLhsl(81, 90%, 73%)
HSVhsv(81, 49%, 97%)
CMYKcmyk(17.3%, 0%, 49.2%, 2.7%)
CIE-LABlab(92.41, -32.45, 53.67)
CIE-LCHlch(92.41, 62.72, 121.16°)
OKLaboklab(92.33% -0.0908 0.128)
OKLCHoklch(92.33% 0.157 125.4)
XYZxyz(62.5100, 81.6197, 32.1956)
Luminance0.8162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF87E #A97EF8
analogous
#F8E67E #CDF87E #90F87E
triadic
#CDF87E #7ECDF8 #F87ECD
tetradic
#CDF87E #7EF8E6 #A97EF8 #F87E90
square
#CDF87E #7EF8E6 #A97EF8 #F87E90
split-complementary
#CDF87E #7E90F8 #E67EF8
monochromatic
#9FEF0D #B6F544 #CDF87E #E3FBB8 #F4FDE2

Accessibility & contrast

On white

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

On black

17.32
#CDF87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF87E
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF87E#FFFFFF#000000##000000
##CDF87E1.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB73
Deuteranopia (green-blind)
#FDE985
Tritanopia (blue-blind)
#D4EEDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf87e;
/* rgb */ color: rgb(205, 248, 126);
/* oklch */ color: oklch(92.3% 0.157 125.4);
Tailwind
colors: {
  custom: {
    50: '#defaa6',
    500: '#cdf87e',
    950: '#000000',
  },
}
SCSS
$custom: #cdf87e;
$custom-light: #defaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf87e",
  "rgb": {
    "r": 205,
    "g": 248,
    "b": 126
  },
  "hsl": {
    "h": 81.148,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.9233,
    "c": 0.15691,
    "h": 125.4
  },
  "luminance": 0.8162
}

Semantic roles & 50–950 ramp

primary
#CDF87E
secondary
#7846D5
accent
#00E651
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF87E

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

Preview Lab → · Contrast checker → · Palette generator →

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