#CDF87F#CDF87F

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

Color values

HEX#CDF87F
RGBrgb(205, 248, 127)
HSLhsl(81, 90%, 74%)
HSVhsv(81, 49%, 97%)
CMYKcmyk(17.3%, 0%, 48.8%, 2.7%)
CIE-LABlab(92.42, -32.35, 53.22)
CIE-LCHlch(92.42, 62.28, 121.30°)
OKLaboklab(92.34% -0.0905 0.127)
OKLCHoklch(92.34% 0.156 125.5)
XYZxyz(62.5749, 81.6457, 32.5371)
Luminance0.8165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF87F #AA7FF8
analogous
#F8E67F #CDF87F #90F87F
triadic
#CDF87F #7FCDF8 #F87FCD
tetradic
#CDF87F #7FF8E6 #AA7FF8 #F87F90
square
#CDF87F #7FF8E6 #AA7FF8 #F87F90
split-complementary
#CDF87F #7F90F8 #E67FF8
monochromatic
#9FF00D #B6F545 #CDF87F #E4FBB9 #F4FDE2

Accessibility & contrast

On white

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

On black

17.33
#CDF87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF87F
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF87F#FFFFFF#000000##000000
##CDF87F1.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdf87f;
/* rgb */ color: rgb(205, 248, 127);
/* oklch */ color: oklch(92.3% 0.156 125.5);
Tailwind
colors: {
  custom: {
    50: '#defaa6',
    500: '#cdf87f',
    950: '#000000',
  },
}
SCSS
$custom: #cdf87f;
$custom-light: #defaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf87f",
  "rgb": {
    "r": 205,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 81.322,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92343,
    "c": 0.15595,
    "h": 125.5
  },
  "luminance": 0.81646
}

Semantic roles & 50–950 ramp

primary
#CDF87F
secondary
#7946D5
accent
#00E652
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CDF87F

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

Preview Lab → · Contrast checker → · Palette generator →

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