#CDFA7C#CDFA7C

#CDFA7C is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.7% C 0.161 H 125.7°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#CDFA7C
RGBrgb(205, 250, 124)
HSLhsl(81, 93%, 73%)
HSVhsv(81, 50%, 98%)
CMYKcmyk(18%, 0%, 50.4%, 2%)
CIE-LABlab(92.93, -33.57, 55.21)
CIE-LCHlch(92.93, 64.62, 121.30°)
OKLaboklab(92.74% -0.0941 0.1312)
OKLCHoklch(92.74% 0.161 125.7)
XYZxyz(63.0004, 82.8050, 31.7287)
Luminance0.8281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDFA7C #A97CFA
analogous
#FAE87C #CDFA7C #8EFA7C
triadic
#CDFA7C #7CCDFA #FA7CCD
tetradic
#CDFA7C #7CFAE8 #A97CFA #FA7C8E
square
#CDFA7C #7CFAE8 #A97CFA #FA7C8E
split-complementary
#CDFA7C #7C8EFA #E87CFA
monochromatic
#9FF209 #B6F841 #CDFA7C #E3FCB7 #F4FEE2

Accessibility & contrast

On white

1.20
#CDFA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#CDFA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDFA7C
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDFA7C#FFFFFF#000000##000000
##CDFA7C1.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC71
Deuteranopia (green-blind)
#FFEA84
Tritanopia (blue-blind)
#D4F0DD
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cdfa7c;
/* rgb */ color: rgb(205, 250, 124);
/* oklch */ color: oklch(92.7% 0.161 125.7);
Tailwind
colors: {
  custom: {
    50: '#defca5',
    500: '#cdfa7c',
    950: '#000000',
  },
}
SCSS
$custom: #cdfa7c;
$custom-light: #defca5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdfa7c",
  "rgb": {
    "r": 205,
    "g": 250,
    "b": 124
  },
  "hsl": {
    "h": 81.429,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92743,
    "c": 0.16145,
    "h": 125.7
  },
  "luminance": 0.82806
}

Semantic roles & 50–950 ramp

primary
#CDFA7C
secondary
#7843D7
accent
#00E652
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDFA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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