#CDFA76#CDFA76

#CDFA76 is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 92.7% C 0.167 H 125.2°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#CDFA76
RGBrgb(205, 250, 118)
HSLhsl(80, 93%, 72%)
HSVhsv(80, 53%, 98%)
CMYKcmyk(18%, 0%, 52.8%, 2%)
CIE-LABlab(92.86, -34.14, 57.86)
CIE-LCHlch(92.86, 67.18, 120.54°)
OKLaboklab(92.67% -0.0962 0.1365)
OKLCHoklch(92.67% 0.167 125.2)
XYZxyz(62.6325, 82.6578, 29.7909)
Luminance0.8266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDFA76 #A376FA
analogous
#FAE576 #CDFA76 #8BFA76
triadic
#CDFA76 #76CDFA #FA76CD
tetradic
#CDFA76 #76FAE5 #A376FA #FA768B
square
#CDFA76 #76FAE5 #A376FA #FA768B
split-complementary
#CDFA76 #768BFA #E576FA
monochromatic
#9FED09 #B7F83B #CDFA76 #E3FCB1 #F4FEE1

Accessibility & contrast

On white

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

On black

17.53
#CDFA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDFA76
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDFA76#FFFFFF#000000##000000
##CDFA761.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC69
Deuteranopia (green-blind)
#FFEA7E
Tritanopia (blue-blind)
#D4F0DC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cdfa76;
/* rgb */ color: rgb(205, 250, 118);
/* oklch */ color: oklch(92.7% 0.167 125.2);
Tailwind
colors: {
  custom: {
    50: '#dffca1',
    500: '#cdfa76',
    950: '#000000',
  },
}
SCSS
$custom: #cdfa76;
$custom-light: #dffca1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdfa76",
  "rgb": {
    "r": 205,
    "g": 250,
    "b": 118
  },
  "hsl": {
    "h": 80.455,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.9267,
    "c": 0.16696,
    "h": 125.2
  },
  "luminance": 0.82658
}

Semantic roles & 50–950 ramp

primary
#CDFA76
secondary
#723ED6
accent
#00E64E
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CDFA76

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

Preview Lab → · Contrast checker → · Palette generator →

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