#D9F97A#D9F97A

#D9F97A is a very light, vivid yellow-green. Relative luminance 0.839; OKLCH L 93.3% C 0.157 H 121.2°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#D9F97A
RGBrgb(217, 249, 122)
HSLhsl(75, 91%, 73%)
HSVhsv(75, 51%, 98%)
CMYKcmyk(12.9%, 0%, 51%, 2.4%)
CIE-LABlab(93.41, -28.82, 56.89)
CIE-LCHlch(93.41, 63.77, 116.87°)
OKLaboklab(93.32% -0.0816 0.1346)
OKLCHoklch(93.32% 0.157 121.2)
XYZxyz(66.0042, 83.9083, 31.1273)
Luminance0.8391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F97A #9A7AF9
analogous
#F9D97A #D9F97A #99F97A
triadic
#D9F97A #7AD9F9 #F97AD9
tetradic
#D9F97A #7AF9D9 #9A7AF9 #F97A99
square
#D9F97A #7AF9D9 #9A7AF9 #F97A99
split-complementary
#D9F97A #7A99F9 #D97AF9
monochromatic
#B5EE0B #C8F63F #D9F97A #EAFCB5 #F7FEE2

Accessibility & contrast

On white

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

On black

17.78
#D9F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F97A
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F97A#FFFFFF#000000##000000
##D9F97A1.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6E
Deuteranopia (green-blind)
#FFEC81
Tritanopia (blue-blind)
#E2EEDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d9f97a;
/* rgb */ color: rgb(217, 249, 122);
/* oklch */ color: oklch(93.3% 0.157 121.2);
Tailwind
colors: {
  custom: {
    50: '#e7fba3',
    500: '#d9f97a',
    950: '#000000',
  },
}
SCSS
$custom: #d9f97a;
$custom-light: #e7fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f97a",
  "rgb": {
    "r": 217,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 75.118,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93321,
    "c": 0.15736,
    "h": 121.2
  },
  "luminance": 0.83908
}

Semantic roles & 50–950 ramp

primary
#D9F97A
secondary
#6742D5
accent
#00E63A
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D9F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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