#CDFA72#CDFA72

#CDFA72 is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.6% C 0.171 H 124.9°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#CDFA72
RGBrgb(205, 250, 114)
HSLhsl(80, 93%, 71%)
HSVhsv(80, 54%, 98%)
CMYKcmyk(18%, 0%, 54.4%, 2%)
CIE-LABlab(92.82, -34.51, 59.59)
CIE-LCHlch(92.82, 68.86, 120.07°)
OKLaboklab(92.62% -0.0975 0.1399)
OKLCHoklch(92.62% 0.171 124.9)
XYZxyz(62.3998, 82.5647, 28.5655)
Luminance0.8256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDFA72 #9F72FA
analogous
#FAE372 #CDFA72 #89FA72
triadic
#CDFA72 #72CDFA #FA72CD
tetradic
#CDFA72 #72FAE3 #9F72FA #FA7289
square
#CDFA72 #72FAE3 #9F72FA #FA7289
split-complementary
#CDFA72 #7289FA #E372FA
monochromatic
#9FE908 #B8F837 #CDFA72 #E2FCAD #F5FEE1

Accessibility & contrast

On white

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

On black

17.51
#CDFA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDFA72
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDFA72#FFFFFF#000000##000000
##CDFA721.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC64
Deuteranopia (green-blind)
#FFEA7B
Tritanopia (blue-blind)
#D5EFDC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cdfa72;
/* rgb */ color: rgb(205, 250, 114);
/* oklch */ color: oklch(92.6% 0.171 124.9);
Tailwind
colors: {
  custom: {
    50: '#dffc9e',
    500: '#cdfa72',
    950: '#000000',
  },
}
SCSS
$custom: #cdfa72;
$custom-light: #dffc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdfa72",
  "rgb": {
    "r": 205,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 79.853,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92624,
    "c": 0.17052,
    "h": 124.9
  },
  "luminance": 0.82565
}

Semantic roles & 50–950 ramp

primary
#CDFA72
secondary
#6E3BD6
accent
#00E64C
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CDFA72

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

Preview Lab → · Contrast checker → · Palette generator →

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