#CDF28D#CDF28D

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

Color values

HEX#CDF28D
RGBrgb(205, 242, 141)
HSLhsl(82, 80%, 75%)
HSVhsv(82, 42%, 95%)
CMYKcmyk(15.3%, 0%, 41.7%, 5.1%)
CIE-LABlab(90.96, -28.04, 44.76)
CIE-LCHlch(90.96, 52.82, 122.06°)
OKLaboklab(91.23% -0.0774 0.109)
OKLCHoklch(91.23% 0.134 125.4)
XYZxyz(61.7363, 78.4060, 37.0755)
Luminance0.7841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF28D #B28DF2
analogous
#F2E48D #CDF28D #9AF28D
triadic
#CDF28D #8DCDF2 #F28DCD
tetradic
#CDF28D #8DF2E4 #B28DF2 #F28D9A
square
#CDF28D #8DF2E4 #B28DF2 #F28D9A
split-complementary
#CDF28D #8D9AF2 #E48DF2
monochromatic
#9DE51F #B5EC56 #CDF28D #E5F8C4 #F3FCE4

Accessibility & contrast

On white

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

On black

16.68
#CDF28D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF28D
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF28D#FFFFFF#000000##000000
##CDF28D1.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdf28d;
/* rgb */ color: rgb(205, 242, 141);
/* oklch */ color: oklch(91.2% 0.134 125.4);
Tailwind
colors: {
  custom: {
    50: '#ddf6b0',
    500: '#cdf28d',
    950: '#000000',
  },
}
SCSS
$custom: #cdf28d;
$custom-light: #ddf6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf28d",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 141
  },
  "hsl": {
    "h": 81.98,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.91232,
    "c": 0.13367,
    "h": 125.4
  },
  "luminance": 0.78406
}

Semantic roles & 50–950 ramp

primary
#CDF28D
secondary
#8155CF
accent
#0ADC57
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF28D

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

Preview Lab → · Contrast checker → · Palette generator →

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