#CDF287#CDF287

#CDF287 is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 91.1% C 0.140 H 124.7°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#CDF287
RGBrgb(205, 242, 135)
HSLhsl(81, 80%, 74%)
HSVhsv(81, 44%, 95%)
CMYKcmyk(15.3%, 0%, 44.2%, 5.1%)
CIE-LABlab(90.89, -28.72, 47.56)
CIE-LCHlch(90.89, 55.56, 121.12°)
OKLaboklab(91.14% -0.0797 0.115)
OKLCHoklch(91.14% 0.14 124.7)
XYZxyz(61.3019, 78.2323, 34.7877)
Luminance0.7823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF287 #AC87F2
analogous
#F2E287 #CDF287 #98F287
triadic
#CDF287 #87CDF2 #F287CD
tetradic
#CDF287 #87F2E2 #AC87F2 #F28798
square
#CDF287 #87F2E2 #AC87F2 #F28798
split-complementary
#CDF287 #8798F2 #E287F2
monochromatic
#9FE619 #B6EC50 #CDF287 #E4F8BE #F3FCE3

Accessibility & contrast

On white

1.26
#CDF287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#CDF287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF287
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF287#FFFFFF#000000##000000
##CDF2871.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE67E
Deuteranopia (green-blind)
#F7E48D
Tritanopia (blue-blind)
#D4E9D9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cdf287;
/* rgb */ color: rgb(205, 242, 135);
/* oklch */ color: oklch(91.1% 0.140 124.7);
Tailwind
colors: {
  custom: {
    50: '#def6ac',
    500: '#cdf287',
    950: '#000000',
  },
}
SCSS
$custom: #cdf287;
$custom-light: #def6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf287",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 135
  },
  "hsl": {
    "h": 80.748,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.91143,
    "c": 0.13989,
    "h": 124.7
  },
  "luminance": 0.78233
}

Semantic roles & 50–950 ramp

primary
#CDF287
secondary
#7B4FCE
accent
#09DD52
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF287

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

Preview Lab → · Contrast checker → · Palette generator →

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