#CDF17C#CDF17C

#CDF17C is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.8% C 0.150 H 123.5°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#CDF17C
RGBrgb(205, 241, 124)
HSLhsl(78, 81%, 72%)
HSVhsv(78, 49%, 95%)
CMYKcmyk(14.9%, 0%, 48.5%, 5.5%)
CIE-LABlab(90.48, -29.40, 52.27)
CIE-LCHlch(90.48, 59.97, 119.36°)
OKLaboklab(90.77% -0.0824 0.1247)
OKLCHoklch(90.77% 0.15 123.5)
XYZxyz(60.2703, 77.3447, 30.8187)
Luminance0.7734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF17C #A07CF1
analogous
#F1DB7C #CDF17C #93F17C
triadic
#CDF17C #7CCDF1 #F17CCD
tetradic
#CDF17C #7CF1DB #A07CF1 #F17C93
square
#CDF17C #7CF1DB #A07CF1 #F17C93
split-complementary
#CDF17C #7C93F1 #DB7CF1
monochromatic
#9FDB17 #B8EB45 #CDF17C #E2F7B3 #F4FCE3

Accessibility & contrast

On white

1.28
#CDF17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#CDF17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF17C
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF17C#FFFFFF#000000##000000
##CDF17C1.001.2816.4716.47
#FFFFFF1.281.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE572
Deuteranopia (green-blind)
#F8E483
Tritanopia (blue-blind)
#D5E7D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cdf17c;
/* rgb */ color: rgb(205, 241, 124);
/* oklch */ color: oklch(90.8% 0.150 123.5);
Tailwind
colors: {
  custom: {
    50: '#def5a4',
    500: '#cdf17c',
    950: '#000000',
  },
}
SCSS
$custom: #cdf17c;
$custom-light: #def5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf17c",
  "rgb": {
    "r": 205,
    "g": 241,
    "b": 124
  },
  "hsl": {
    "h": 78.462,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.90773,
    "c": 0.14952,
    "h": 123.5
  },
  "luminance": 0.77345
}

Semantic roles & 50–950 ramp

primary
#CDF17C
secondary
#6F46CB
accent
#08DD4A
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF17C

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

Preview Lab → · Contrast checker → · Palette generator →

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