#CDF57A#CDF57A

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

Color values

HEX#CDF57A
RGBrgb(205, 245, 122)
HSLhsl(80, 86%, 72%)
HSVhsv(80, 50%, 96%)
CMYKcmyk(16.3%, 0%, 50.2%, 3.9%)
CIE-LABlab(91.55, -31.46, 54.48)
CIE-LCHlch(91.55, 62.91, 120.01°)
OKLaboklab(91.62% -0.0884 0.1294)
OKLCHoklch(91.62% 0.157 124.3)
XYZxyz(61.3421, 79.6887, 30.5583)
Luminance0.7969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF57A #A27AF5
analogous
#F5DF7A #CDF57A #90F57A
triadic
#CDF57A #7ACDF5 #F57ACD
tetradic
#CDF57A #7AF5DF #A27AF5 #F57A90
square
#CDF57A #7AF5DF #A27AF5 #F57A90
split-complementary
#CDF57A #7A90F5 #DF7AF5
monochromatic
#9FE311 #B8F141 #CDF57A #E2F9B3 #F4FDE3

Accessibility & contrast

On white

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

On black

16.94
#CDF57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF57A
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF57A#FFFFFF#000000##000000
##CDF57A1.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdf57a;
/* rgb */ color: rgb(205, 245, 122);
/* oklch */ color: oklch(91.6% 0.157 124.3);
Tailwind
colors: {
  custom: {
    50: '#def8a3',
    500: '#cdf57a',
    950: '#000000',
  },
}
SCSS
$custom: #cdf57a;
$custom-light: #def8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf57a",
  "rgb": {
    "r": 205,
    "g": 245,
    "b": 122
  },
  "hsl": {
    "h": 79.512,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91622,
    "c": 0.15673,
    "h": 124.3
  },
  "luminance": 0.79689
}

Semantic roles & 50–950 ramp

primary
#CDF57A
secondary
#7143D0
accent
#03E34C
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF57A

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

Preview Lab → · Contrast checker → · Palette generator →

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