#CDF57C#CDF57C

#CDF57C is a very light, vivid yellow-green. Relative luminance 0.797; OKLCH L 91.6% C 0.155 H 124.5°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#CDF57C
RGBrgb(205, 245, 124)
HSLhsl(80, 86%, 72%)
HSVhsv(80, 49%, 96%)
CMYKcmyk(16.3%, 0%, 49.4%, 3.9%)
CIE-LABlab(91.57, -31.27, 53.58)
CIE-LCHlch(91.57, 62.04, 120.27°)
OKLaboklab(91.65% -0.0877 0.1276)
OKLCHoklch(91.65% 0.155 124.5)
XYZxyz(61.4673, 79.7388, 31.2177)
Luminance0.7974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF57C #A47CF5
analogous
#F5E17C #CDF57C #90F57C
triadic
#CDF57C #7CCDF5 #F57CCD
tetradic
#CDF57C #7CF5E1 #A47CF5 #F57C90
square
#CDF57C #7CF5E1 #A47CF5 #F57C90
split-complementary
#CDF57C #7C90F5 #E17CF5
monochromatic
#9FE511 #B7F143 #CDF57C #E3F9B5 #F4FDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDF57C#FFFFFF#000000##000000
##CDF57C1.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)
#FFE871
Deuteranopia (green-blind)
#FBE683
Tritanopia (blue-blind)
#D4EBD9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #cdf57c;
/* rgb */ color: rgb(205, 245, 124);
/* oklch */ color: oklch(91.6% 0.155 124.5);
Tailwind
colors: {
  custom: {
    50: '#def8a4',
    500: '#cdf57c',
    950: '#000000',
  },
}
SCSS
$custom: #cdf57c;
$custom-light: #def8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf57c",
  "rgb": {
    "r": 205,
    "g": 245,
    "b": 124
  },
  "hsl": {
    "h": 79.835,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.91647,
    "c": 0.15482,
    "h": 124.5
  },
  "luminance": 0.79739
}

Semantic roles & 50–950 ramp

primary
#CDF57C
secondary
#7345D1
accent
#03E24D
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF57C

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

Preview Lab → · Contrast checker → · Palette generator →

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