#D7FA72#D7FA72

#D7FA72 is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.3% C 0.167 H 121.7°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#D7FA72
RGBrgb(215, 250, 114)
HSLhsl(75, 93%, 71%)
HSVhsv(75, 54%, 98%)
CMYKcmyk(14%, 0%, 54.4%, 2%)
CIE-LABlab(93.46, -30.76, 60.50)
CIE-LCHlch(93.46, 67.87, 116.95°)
OKLaboklab(93.3% -0.0876 0.1417)
OKLCHoklch(93.3% 0.167 121.7)
XYZxyz(65.2477, 84.0332, 28.6990)
Luminance0.8403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7FA72 #9572FA
analogous
#FAD972 #D7FA72 #93FA72
triadic
#D7FA72 #72D7FA #FA72D7
tetradic
#D7FA72 #72FAD9 #9572FA #FA7293
square
#D7FA72 #72FAD9 #9572FA #FA7293
split-complementary
#D7FA72 #7293FA #D972FA
monochromatic
#AFE908 #C6F837 #D7FA72 #E8FCAD #F7FEE1

Accessibility & contrast

On white

1.18
#D7FA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.81
#D7FA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7FA72
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7FA72#FFFFFF#000000##000000
##D7FA721.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED64
Deuteranopia (green-blind)
#FFEC7A
Tritanopia (blue-blind)
#E1EFDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d7fa72;
/* rgb */ color: rgb(215, 250, 114);
/* oklch */ color: oklch(93.3% 0.167 121.7);
Tailwind
colors: {
  custom: {
    50: '#e6fc9e',
    500: '#d7fa72',
    950: '#000000',
  },
}
SCSS
$custom: #d7fa72;
$custom-light: #e6fc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7fa72",
  "rgb": {
    "r": 215,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 75.441,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93304,
    "c": 0.16659,
    "h": 121.7
  },
  "luminance": 0.84033
}

Semantic roles & 50–950 ramp

primary
#D7FA72
secondary
#623BD6
accent
#00E63B
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D7FA72

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

Preview Lab → · Contrast checker → · Palette generator →

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