#D8F970#D8F970

#D8F970 is a very light, vivid yellow-green. Relative luminance 0.835; OKLCH L 93.1% C 0.167 H 121.0°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#D8F970
RGBrgb(216, 249, 112)
HSLhsl(74, 92%, 71%)
HSVhsv(74, 55%, 98%)
CMYKcmyk(13.3%, 0%, 55%, 2.4%)
CIE-LABlab(93.24, -30.08, 61.14)
CIE-LCHlch(93.24, 68.14, 116.20°)
OKLaboklab(93.14% -0.086 0.1429)
OKLCHoklch(93.14% 0.167 121)
XYZxyz(65.1198, 83.5202, 28.0165)
Luminance0.8352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F970 #9170F9
analogous
#F9D670 #D8F970 #93F970
triadic
#D8F970 #70D8F9 #F970D8
tetradic
#D8F970 #70F9D6 #9170F9 #F97093
square
#D8F970 #70F9D6 #9170F9 #F97093
split-complementary
#D8F970 #7093F9 #D670F9
monochromatic
#B0E50A #C8F735 #D8F970 #E8FBAB #F7FEE2

Accessibility & contrast

On white

1.19
#D8F970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.70
#D8F970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F970
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F970#FFFFFF#000000##000000
##D8F9701.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8f970;
/* rgb */ color: rgb(216, 249, 112);
/* oklch */ color: oklch(93.1% 0.167 121.0);
Tailwind
colors: {
  custom: {
    50: '#e6fb9d',
    500: '#d8f970',
    950: '#000000',
  },
}
SCSS
$custom: #d8f970;
$custom-light: #e6fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f970",
  "rgb": {
    "r": 216,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 74.453,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93135,
    "c": 0.16673,
    "h": 121
  },
  "luminance": 0.8352
}

Semantic roles & 50–950 ramp

primary
#D8F970
secondary
#5E39D4
accent
#00E637
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F970

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

Preview Lab → · Contrast checker → · Palette generator →

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