#D9F970#D9F970

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

Color values

HEX#D9F970
RGBrgb(217, 249, 112)
HSLhsl(74, 92%, 71%)
HSVhsv(74, 55%, 98%)
CMYKcmyk(12.9%, 0%, 55%, 2.4%)
CIE-LABlab(93.31, -29.70, 61.23)
CIE-LCHlch(93.31, 68.06, 115.88°)
OKLaboklab(93.21% -0.0849 0.1431)
OKLCHoklch(93.21% 0.166 120.7)
XYZxyz(65.4162, 83.6731, 28.0304)
Luminance0.8367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F970 #9070F9
analogous
#F9D570 #D9F970 #94F970
triadic
#D9F970 #70D9F9 #F970D9
tetradic
#D9F970 #70F9D5 #9070F9 #F97094
square
#D9F970 #70F9D5 #9070F9 #F97094
split-complementary
#D9F970 #7094F9 #D570F9
monochromatic
#B2E50A #C9F735 #D9F970 #E9FBAB #F7FEE2

Accessibility & contrast

On white

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

On black

17.73
#D9F970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F970
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F970#FFFFFF#000000##000000
##D9F9701.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFEC78
Tritanopia (blue-blind)
#E3EEDB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d9f970;
/* rgb */ color: rgb(217, 249, 112);
/* oklch */ color: oklch(93.2% 0.166 120.7);
Tailwind
colors: {
  custom: {
    50: '#e7fb9d',
    500: '#d9f970',
    950: '#000000',
  },
}
SCSS
$custom: #d9f970;
$custom-light: #e7fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f970",
  "rgb": {
    "r": 217,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 74.015,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93206,
    "c": 0.16637,
    "h": 120.7
  },
  "luminance": 0.83673
}

Semantic roles & 50–950 ramp

primary
#D9F970
secondary
#5D39D4
accent
#00E636
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D9F970

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

Preview Lab → · Contrast checker → · Palette generator →

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