#CDF28E#CDF28E

#CDF28E is a very light, vivid yellow-green. Relative luminance 0.784; OKLCH L 91.2% C 0.133 H 125.5°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#CDF28E
RGBrgb(205, 242, 142)
HSLhsl(82, 79%, 75%)
HSVhsv(82, 41%, 95%)
CMYKcmyk(15.3%, 0%, 41.3%, 5.1%)
CIE-LABlab(90.98, -27.92, 44.29)
CIE-LCHlch(90.98, 52.36, 122.23°)
OKLaboklab(91.25% -0.077 0.108)
OKLCHoklch(91.25% 0.133 125.5)
XYZxyz(61.8111, 78.4359, 37.4692)
Luminance0.7844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF28E #B38EF2
analogous
#F2E58E #CDF28E #9BF28E
triadic
#CDF28E #8ECDF2 #F28ECD
tetradic
#CDF28E #8EF2E5 #B38EF2 #F28E9B
square
#CDF28E #8EF2E5 #B38EF2 #F28E9B
split-complementary
#CDF28E #8E9BF2 #E58EF2
monochromatic
#9CE520 #B5EC57 #CDF28E #E5F8C5 #F3FCE4

Accessibility & contrast

On white

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

On black

16.69
#CDF28E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF28E
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF28E#FFFFFF#000000##000000
##CDF28E1.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE686
Deuteranopia (green-blind)
#F7E593
Tritanopia (blue-blind)
#D3E9DA
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cdf28e;
/* rgb */ color: rgb(205, 242, 142);
/* oklch */ color: oklch(91.2% 0.133 125.5);
Tailwind
colors: {
  custom: {
    50: '#ddf6b0',
    500: '#cdf28e',
    950: '#000000',
  },
}
SCSS
$custom: #cdf28e;
$custom-light: #ddf6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf28e",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 142
  },
  "hsl": {
    "h": 82.2,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.91247,
    "c": 0.13262,
    "h": 125.5
  },
  "luminance": 0.78436
}

Semantic roles & 50–950 ramp

primary
#CDF28E
secondary
#8256CF
accent
#0ADC57
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151711
muted
#848581

Preview Lab

Preview with #CDF28E

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

Preview Lab → · Contrast checker → · Palette generator →

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