#D9F97E#D9F97E

#D9F97E is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.4% C 0.154 H 121.5°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#D9F97E
RGBrgb(217, 249, 126)
HSLhsl(76, 91%, 74%)
HSVhsv(76, 49%, 98%)
CMYKcmyk(12.9%, 0%, 49.4%, 2.4%)
CIE-LABlab(93.45, -28.45, 55.11)
CIE-LCHlch(93.45, 62.02, 117.30°)
OKLaboklab(93.37% -0.0802 0.131)
OKLCHoklch(93.37% 0.154 121.5)
XYZxyz(66.2572, 84.0094, 32.4595)
Luminance0.8401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F97E #9E7EF9
analogous
#F9DB7E #D9F97E #9BF97E
triadic
#D9F97E #7ED9F9 #F97ED9
tetradic
#D9F97E #7EF9DB #9E7EF9 #F97E9B
square
#D9F97E #7EF9DB #9E7EF9 #F97E9B
split-complementary
#D9F97E #7E9BF9 #DB7EF9
monochromatic
#B5F10B #C8F644 #D9F97E #EAFCB8 #F6FEE2

Accessibility & contrast

On white

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

On black

17.80
#D9F97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F97E
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F97E#FFFFFF#000000##000000
##D9F97E1.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9f97e;
/* rgb */ color: rgb(217, 249, 126);
/* oklch */ color: oklch(93.4% 0.154 121.5);
Tailwind
colors: {
  custom: {
    50: '#e7fba6',
    500: '#d9f97e',
    950: '#000000',
  },
}
SCSS
$custom: #d9f97e;
$custom-light: #e7fba6;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f97e",
  "rgb": {
    "r": 217,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 75.61,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.9337,
    "c": 0.15359,
    "h": 121.5
  },
  "luminance": 0.84009
}

Semantic roles & 50–950 ramp

primary
#D9F97E
secondary
#6B45D6
accent
#00E63C
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#161710
muted
#848580

Preview Lab

Preview with #D9F97E

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

Preview Lab → · Contrast checker → · Palette generator →

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