#D7F372#D7F372

#D7F372 is a very light, vivid yellow-green. Relative luminance 0.798; OKLCH L 91.8% C 0.158 H 119.8°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#D7F372
RGBrgb(215, 243, 114)
HSLhsl(73, 84%, 70%)
HSVhsv(73, 53%, 95%)
CMYKcmyk(11.5%, 0%, 53.1%, 4.7%)
CIE-LABlab(91.58, -27.49, 58.32)
CIE-LCHlch(91.58, 64.47, 115.24°)
OKLaboklab(91.79% -0.0784 0.137)
OKLCHoklch(91.79% 0.158 119.8)
XYZxyz(63.1128, 79.7634, 27.9873)
Luminance0.7976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F372 #8E72F3
analogous
#F3CE72 #D7F372 #97F372
triadic
#D7F372 #72D7F3 #F372D7
tetradic
#D7F372 #72F3CE #8E72F3 #F37297
square
#D7F372 #72F3CE #8E72F3 #F37297
split-complementary
#D7F372 #7297F3 #CE72F3
monochromatic
#ADD812 #C7EE3A #D7F372 #E7F8AA #F7FDE3

Accessibility & contrast

On white

1.24
#D7F372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#D7F372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F372
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F372#FFFFFF#000000##000000
##D7F3721.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE765
Deuteranopia (green-blind)
#FDE77A
Tritanopia (blue-blind)
#E1E8D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d7f372;
/* rgb */ color: rgb(215, 243, 114);
/* oklch */ color: oklch(91.8% 0.158 119.8);
Tailwind
colors: {
  custom: {
    50: '#e5f79e',
    500: '#d7f372',
    950: '#000000',
  },
}
SCSS
$custom: #d7f372;
$custom-light: #e5f79e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f372",
  "rgb": {
    "r": 215,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 73.023,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.91789,
    "c": 0.15785,
    "h": 119.8
  },
  "luminance": 0.79763
}

Semantic roles & 50–950 ramp

primary
#D7F372
secondary
#5C3CCD
accent
#05E134
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D7F372

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

Preview Lab → · Contrast checker → · Palette generator →

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