#CDF57D#CDF57D

#CDF57D is a very light, vivid yellow-green. Relative luminance 0.798; OKLCH L 91.7% C 0.154 H 124.6°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#CDF57D
RGBrgb(205, 245, 125)
HSLhsl(80, 86%, 73%)
HSVhsv(80, 49%, 96%)
CMYKcmyk(16.3%, 0%, 49%, 3.9%)
CIE-LABlab(91.58, -31.17, 53.13)
CIE-LCHlch(91.58, 61.60, 120.40°)
OKLaboklab(91.66% -0.0873 0.1267)
OKLCHoklch(91.66% 0.154 124.6)
XYZxyz(61.5309, 79.7642, 31.5524)
Luminance0.7976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF57D #A57DF5
analogous
#F5E17D #CDF57D #91F57D
triadic
#CDF57D #7DCDF5 #F57DCD
tetradic
#CDF57D #7DF5E1 #A57DF5 #F57D91
square
#CDF57D #7DF5E1 #A57DF5 #F57D91
split-complementary
#CDF57D #7D91F5 #E17DF5
monochromatic
#9FE612 #B7F144 #CDF57D #E3F9B6 #F4FDE3

Accessibility & contrast

On white

1.24
#CDF57D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#CDF57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF57D
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF57D#FFFFFF#000000##000000
##CDF57D1.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE872
Deuteranopia (green-blind)
#FBE684
Tritanopia (blue-blind)
#D4EBD9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #cdf57d;
/* rgb */ color: rgb(205, 245, 125);
/* oklch */ color: oklch(91.7% 0.154 124.6);
Tailwind
colors: {
  custom: {
    50: '#def8a5',
    500: '#cdf57d',
    950: '#000000',
  },
}
SCSS
$custom: #cdf57d;
$custom-light: #def8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf57d",
  "rgb": {
    "r": 205,
    "g": 245,
    "b": 125
  },
  "hsl": {
    "h": 80,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.9166,
    "c": 0.15387,
    "h": 124.6
  },
  "luminance": 0.79765
}

Semantic roles & 50–950 ramp

primary
#CDF57D
secondary
#7446D1
accent
#03E24E
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF57D

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

Preview Lab → · Contrast checker → · Palette generator →

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