#D7F97E#D7F97E

#D7F97E is a very light, vivid yellow-green. Relative luminance 0.837; OKLCH L 93.2% C 0.154 H 122.2°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#D7F97E
RGBrgb(215, 249, 126)
HSLhsl(77, 91%, 74%)
HSVhsv(77, 49%, 98%)
CMYKcmyk(13.7%, 0%, 49.4%, 2.4%)
CIE-LABlab(93.32, -29.20, 54.92)
CIE-LCHlch(93.32, 62.20, 118.00°)
OKLaboklab(93.23% -0.0822 0.1306)
OKLCHoklch(93.23% 0.154 122.2)
XYZxyz(65.6662, 83.7047, 32.4318)
Luminance0.8370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F97E #A07EF9
analogous
#F9DD7E #D7F97E #99F97E
triadic
#D7F97E #7ED7F9 #F97ED7
tetradic
#D7F97E #7EF9DD #A07EF9 #F97E99
square
#D7F97E #7EF9DD #A07EF9 #F97E99
split-complementary
#D7F97E #7E99F9 #DD7EF9
monochromatic
#B2F10B #C5F644 #D7F97E #E9FCB8 #F6FEE2

Accessibility & contrast

On white

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

On black

17.74
#D7F97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F97E
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F97E#FFFFFF#000000##000000
##D7F97E1.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED73
Deuteranopia (green-blind)
#FFEC85
Tritanopia (blue-blind)
#E0EFDD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d7f97e;
/* rgb */ color: rgb(215, 249, 126);
/* oklch */ color: oklch(93.2% 0.154 122.2);
Tailwind
colors: {
  custom: {
    50: '#e5fba6',
    500: '#d7f97e',
    950: '#000000',
  },
}
SCSS
$custom: #d7f97e;
$custom-light: #e5fba6;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f97e",
  "rgb": {
    "r": 215,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 76.585,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.9323,
    "c": 0.15431,
    "h": 122.2
  },
  "luminance": 0.83705
}

Semantic roles & 50–950 ramp

primary
#D7F97E
secondary
#6D45D6
accent
#00E63F
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#161710
muted
#848580

Preview Lab

Preview with #D7F97E

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

Preview Lab → · Contrast checker → · Palette generator →

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