#CDF87D#CDF87D

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

Color values

HEX#CDF87D
RGBrgb(205, 248, 125)
HSLhsl(81, 90%, 73%)
HSVhsv(81, 50%, 97%)
CMYKcmyk(17.3%, 0%, 49.6%, 2.7%)
CIE-LABlab(92.40, -32.55, 54.11)
CIE-LCHlch(92.40, 63.15, 121.03°)
OKLaboklab(92.32% -0.0912 0.1289)
OKLCHoklch(92.32% 0.158 125.3)
XYZxyz(62.4458, 81.5941, 31.8574)
Luminance0.8159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF87D #A87DF8
analogous
#F8E67D #CDF87D #8FF87D
triadic
#CDF87D #7DCDF8 #F87DCD
tetradic
#CDF87D #7DF8E6 #A87DF8 #F87D8F
square
#CDF87D #7DF8E6 #A87DF8 #F87D8F
split-complementary
#CDF87D #7D8FF8 #E67DF8
monochromatic
#9FEE0D #B7F543 #CDF87D #E3FBB7 #F4FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDF87D#FFFFFF#000000##000000
##CDF87D1.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)
#FFEB72
Deuteranopia (green-blind)
#FDE984
Tritanopia (blue-blind)
#D4EEDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf87d;
/* rgb */ color: rgb(205, 248, 125);
/* oklch */ color: oklch(92.3% 0.158 125.3);
Tailwind
colors: {
  custom: {
    50: '#defaa5',
    500: '#cdf87d',
    950: '#000000',
  },
}
SCSS
$custom: #cdf87d;
$custom-light: #defaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf87d",
  "rgb": {
    "r": 205,
    "g": 248,
    "b": 125
  },
  "hsl": {
    "h": 80.976,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92317,
    "c": 0.15786,
    "h": 125.3
  },
  "luminance": 0.81595
}

Semantic roles & 50–950 ramp

primary
#CDF87D
secondary
#7745D4
accent
#00E650
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF87D

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

Preview Lab → · Contrast checker → · Palette generator →

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