#CDF87C#CDF87C

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

Color values

HEX#CDF87C
RGBrgb(205, 248, 124)
HSLhsl(81, 90%, 73%)
HSVhsv(81, 50%, 97%)
CMYKcmyk(17.3%, 0%, 50%, 2.7%)
CIE-LABlab(92.38, -32.65, 54.56)
CIE-LCHlch(92.38, 63.59, 120.90°)
OKLaboklab(92.31% -0.0916 0.1298)
OKLCHoklch(92.31% 0.159 125.2)
XYZxyz(62.3823, 81.5686, 31.5227)
Luminance0.8157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF87C #A77CF8
analogous
#F8E57C #CDF87C #8FF87C
triadic
#CDF87C #7CCDF8 #F87CCD
tetradic
#CDF87C #7CF8E5 #A77CF8 #F87C8F
square
#CDF87C #7CF8E5 #A77CF8 #F87C8F
split-complementary
#CDF87C #7C8FF8 #E57CF8
monochromatic
#9FED0D #B7F542 #CDF87C #E3FBB6 #F4FDE2

Accessibility & contrast

On white

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

On black

17.31
#CDF87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF87C
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF87C#FFFFFF#000000##000000
##CDF87C1.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdf87c;
/* rgb */ color: rgb(205, 248, 124);
/* oklch */ color: oklch(92.3% 0.159 125.2);
Tailwind
colors: {
  custom: {
    50: '#defaa5',
    500: '#cdf87c',
    950: '#000000',
  },
}
SCSS
$custom: #cdf87c;
$custom-light: #defaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf87c",
  "rgb": {
    "r": 205,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 80.806,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92305,
    "c": 0.15881,
    "h": 125.2
  },
  "luminance": 0.81569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDF87C

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

Preview Lab → · Contrast checker → · Palette generator →

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