#CDF387#CDF387

#CDF387 is a very light, vivid yellow-green. Relative luminance 0.788; OKLCH L 91.4% C 0.141 H 125.0°. Best body text is #000000 at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#CDF387
RGBrgb(205, 243, 135)
HSLhsl(81, 82%, 74%)
HSVhsv(81, 44%, 95%)
CMYKcmyk(15.6%, 0%, 44.4%, 4.7%)
CIE-LABlab(91.16, -29.19, 47.90)
CIE-LCHlch(91.16, 56.09, 121.36°)
OKLaboklab(91.36% -0.081 0.1157)
OKLCHoklch(91.36% 0.141 125)
XYZxyz(61.6004, 78.8292, 34.8872)
Luminance0.7883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF387 #AD87F3
analogous
#F3E387 #CDF387 #97F387
triadic
#CDF387 #87CDF3 #F387CD
tetradic
#CDF387 #87F3E3 #AD87F3 #F38797
square
#CDF387 #87F3E3 #AD87F3 #F38797
split-complementary
#CDF387 #8797F3 #E387F3
monochromatic
#9FE818 #B6ED4F #CDF387 #E4F9BF #F3FCE3

Accessibility & contrast

On white

1.25
#CDF387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.77
#CDF387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF387
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF387#FFFFFF#000000##000000
##CDF3871.001.2516.7716.77
#FFFFFF1.251.0021.0021.00
#00000016.7721.001.001.00
##00000016.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE77E
Deuteranopia (green-blind)
#F8E58D
Tritanopia (blue-blind)
#D3EAD9
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cdf387;
/* rgb */ color: rgb(205, 243, 135);
/* oklch */ color: oklch(91.4% 0.141 125.0);
Tailwind
colors: {
  custom: {
    50: '#def7ac',
    500: '#cdf387',
    950: '#000000',
  },
}
SCSS
$custom: #cdf387;
$custom-light: #def7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf387",
  "rgb": {
    "r": 205,
    "g": 243,
    "b": 135
  },
  "hsl": {
    "h": 81.111,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.9136,
    "c": 0.14126,
    "h": 125
  },
  "luminance": 0.7883
}

Semantic roles & 50–950 ramp

primary
#CDF387
secondary
#7C4FCF
accent
#07DE53
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF387

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

Preview Lab → · Contrast checker → · Palette generator →

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