#CDFA7E#CDFA7E

#CDFA7E is a very light, vivid yellow-green. Relative luminance 0.829; OKLCH L 92.8% C 0.160 H 125.8°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#CDFA7E
RGBrgb(205, 250, 126)
HSLhsl(82, 93%, 74%)
HSVhsv(82, 50%, 98%)
CMYKcmyk(18%, 0%, 49.6%, 2%)
CIE-LABlab(92.95, -33.37, 54.32)
CIE-LCHlch(92.95, 63.75, 121.56°)
OKLaboklab(92.77% -0.0934 0.1294)
OKLCHoklch(92.77% 0.16 125.8)
XYZxyz(63.1282, 82.8561, 32.4016)
Luminance0.8286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDFA7E #AB7EFA
analogous
#FAE97E #CDFA7E #8FFA7E
triadic
#CDFA7E #7ECDFA #FA7ECD
tetradic
#CDFA7E #7EFAE9 #AB7EFA #FA7E8F
square
#CDFA7E #7EFAE9 #AB7EFA #FA7E8F
split-complementary
#CDFA7E #7E8FFA #E97EFA
monochromatic
#9FF409 #B6F843 #CDFA7E #E4FCB9 #F4FEE2

Accessibility & contrast

On white

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

On black

17.57
#CDFA7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDFA7E
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDFA7E#FFFFFF#000000##000000
##CDFA7E1.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC73
Deuteranopia (green-blind)
#FFEA85
Tritanopia (blue-blind)
#D4F0DE
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cdfa7e;
/* rgb */ color: rgb(205, 250, 126);
/* oklch */ color: oklch(92.8% 0.160 125.8);
Tailwind
colors: {
  custom: {
    50: '#defca6',
    500: '#cdfa7e',
    950: '#000000',
  },
}
SCSS
$custom: #cdfa7e;
$custom-light: #defca6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdfa7e",
  "rgb": {
    "r": 205,
    "g": 250,
    "b": 126
  },
  "hsl": {
    "h": 81.774,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92769,
    "c": 0.15958,
    "h": 125.8
  },
  "luminance": 0.82857
}

Semantic roles & 50–950 ramp

primary
#CDFA7E
secondary
#7A45D7
accent
#00E653
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CDFA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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