#CDF87B#CDF87B

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

Color values

HEX#CDF87B
RGBrgb(205, 248, 123)
HSLhsl(81, 90%, 73%)
HSVhsv(81, 50%, 97%)
CMYKcmyk(17.3%, 0%, 50.4%, 2.7%)
CIE-LABlab(92.37, -32.75, 55.01)
CIE-LCHlch(92.37, 64.02, 120.77°)
OKLaboklab(92.29% -0.0919 0.1307)
OKLCHoklch(92.29% 0.16 125.1)
XYZxyz(62.3194, 81.5435, 31.1913)
Luminance0.8154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF87B #A67BF8
analogous
#F8E47B #CDF87B #8EF87B
triadic
#CDF87B #7BCDF8 #F87BCD
tetradic
#CDF87B #7BF8E4 #A67BF8 #F87B8E
square
#CDF87B #7BF8E4 #A67BF8 #F87B8E
split-complementary
#CDF87B #7B8EF8 #E47BF8
monochromatic
#9FEC0D #B7F541 #CDF87B #E3FBB5 #F4FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDF87B#FFFFFF#000000##000000
##CDF87B1.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)
#FFEB70
Deuteranopia (green-blind)
#FEE982
Tritanopia (blue-blind)
#D4EEDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf87b;
/* rgb */ color: rgb(205, 248, 123);
/* oklch */ color: oklch(92.3% 0.160 125.1);
Tailwind
colors: {
  custom: {
    50: '#defaa4',
    500: '#cdf87b',
    950: '#000000',
  },
}
SCSS
$custom: #cdf87b;
$custom-light: #defaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf87b",
  "rgb": {
    "r": 205,
    "g": 248,
    "b": 123
  },
  "hsl": {
    "h": 80.64,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92292,
    "c": 0.15975,
    "h": 125.1
  },
  "luminance": 0.81544
}

Semantic roles & 50–950 ramp

primary
#CDF87B
secondary
#7543D4
accent
#00E64F
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF87B

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

Preview Lab → · Contrast checker → · Palette generator →

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