#CDF37C#CDF37C

#CDF37C is a very light, vivid yellow-green. Relative luminance 0.785; OKLCH L 91.2% C 0.152 H 124.0°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#CDF37C
RGBrgb(205, 243, 124)
HSLhsl(79, 83%, 72%)
HSVhsv(79, 49%, 95%)
CMYKcmyk(15.6%, 0%, 49%, 4.7%)
CIE-LABlab(91.02, -30.34, 52.93)
CIE-LCHlch(91.02, 61.01, 119.82°)
OKLaboklab(91.21% -0.0851 0.1262)
OKLCHoklch(91.21% 0.152 124)
XYZxyz(60.8656, 78.5352, 31.0171)
Luminance0.7854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF37C #A27CF3
analogous
#F3DE7C #CDF37C #92F37C
triadic
#CDF37C #7CCDF3 #F37CCD
tetradic
#CDF37C #7CF3DE #A27CF3 #F37C92
square
#CDF37C #7CF3DE #A27CF3 #F37C92
split-complementary
#CDF37C #7C92F3 #DE7CF3
monochromatic
#9FE015 #B8EE44 #CDF37C #E2F8B4 #F4FCE3

Accessibility & contrast

On white

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

On black

16.71
#CDF37C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF37C
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF37C#FFFFFF#000000##000000
##CDF37C1.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE671
Deuteranopia (green-blind)
#F9E583
Tritanopia (blue-blind)
#D4E9D8
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cdf37c;
/* rgb */ color: rgb(205, 243, 124);
/* oklch */ color: oklch(91.2% 0.152 124.0);
Tailwind
colors: {
  custom: {
    50: '#def7a4',
    500: '#cdf37c',
    950: '#000000',
  },
}
SCSS
$custom: #cdf37c;
$custom-light: #def7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf37c",
  "rgb": {
    "r": 205,
    "g": 243,
    "b": 124
  },
  "hsl": {
    "h": 79.16,
    "s": 83.217,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9121,
    "c": 0.15217,
    "h": 124
  },
  "luminance": 0.78536
}

Semantic roles & 50–950 ramp

primary
#CDF37C
secondary
#7145CE
accent
#06E04B
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF37C

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

Preview Lab → · Contrast checker → · Palette generator →

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