#CDF37F#CDF37F

#CDF37F is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 91.2% C 0.149 H 124.2°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#CDF37F
RGBrgb(205, 243, 127)
HSLhsl(80, 83%, 73%)
HSVhsv(80, 48%, 95%)
CMYKcmyk(15.6%, 0%, 47.7%, 4.7%)
CIE-LABlab(91.06, -30.03, 51.57)
CIE-LCHlch(91.06, 59.68, 120.22°)
OKLaboklab(91.25% -0.084 0.1234)
OKLCHoklch(91.25% 0.149 124.2)
XYZxyz(61.0582, 78.6123, 32.0315)
Luminance0.7861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF37F #A57FF3
analogous
#F3DF7F #CDF37F #93F37F
triadic
#CDF37F #7FCDF3 #F37FCD
tetradic
#CDF37F #7FF3DF #A57FF3 #F37F93
square
#CDF37F #7FF3DF #A57FF3 #F37F93
split-complementary
#CDF37F #7F93F3 #DF7FF3
monochromatic
#9FE215 #B7EE47 #CDF37F #E3F8B7 #F4FCE3

Accessibility & contrast

On white

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

On black

16.72
#CDF37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF37F
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF37F#FFFFFF#000000##000000
##CDF37F1.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdf37f;
/* rgb */ color: rgb(205, 243, 127);
/* oklch */ color: oklch(91.2% 0.149 124.2);
Tailwind
colors: {
  custom: {
    50: '#def7a6',
    500: '#cdf37f',
    950: '#000000',
  },
}
SCSS
$custom: #cdf37f;
$custom-light: #def7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf37f",
  "rgb": {
    "r": 205,
    "g": 243,
    "b": 127
  },
  "hsl": {
    "h": 79.655,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.91249,
    "c": 0.14926,
    "h": 124.2
  },
  "luminance": 0.78613
}

Semantic roles & 50–950 ramp

primary
#CDF37F
secondary
#7448CE
accent
#06DF4D
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#151710
muted
#848580

Preview Lab

Preview with #CDF37F

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

Preview Lab → · Contrast checker → · Palette generator →

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