#D8F973#D8F973

#D8F973 is a very light, vivid yellow-green. Relative luminance 0.836; OKLCH L 93.2% C 0.164 H 121.2°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#D8F973
RGBrgb(216, 249, 115)
HSLhsl(75, 92%, 71%)
HSVhsv(75, 54%, 98%)
CMYKcmyk(13.3%, 0%, 53.8%, 2.4%)
CIE-LABlab(93.27, -29.83, 59.85)
CIE-LCHlch(93.27, 66.87, 116.49°)
OKLaboklab(93.17% -0.085 0.1404)
OKLCHoklch(93.17% 0.164 121.2)
XYZxyz(65.2896, 83.5881, 28.9109)
Luminance0.8359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F973 #9473F9
analogous
#F9D773 #D8F973 #95F973
triadic
#D8F973 #73D8F9 #F973D8
tetradic
#D8F973 #73F9D7 #9473F9 #F97395
square
#D8F973 #73F9D7 #9473F9 #F97395
split-complementary
#D8F973 #7395F9 #D773F9
monochromatic
#B1E80A #C8F638 #D8F973 #E8FCAE #F7FEE2

Accessibility & contrast

On white

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

On black

17.72
#D8F973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F973
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F973#FFFFFF#000000##000000
##D8F9731.001.1917.7217.72
#FFFFFF1.191.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8f973;
/* rgb */ color: rgb(216, 249, 115);
/* oklch */ color: oklch(93.2% 0.164 121.2);
Tailwind
colors: {
  custom: {
    50: '#e6fb9f',
    500: '#d8f973',
    950: '#000000',
  },
}
SCSS
$custom: #d8f973;
$custom-light: #e6fb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f973",
  "rgb": {
    "r": 216,
    "g": 249,
    "b": 115
  },
  "hsl": {
    "h": 74.776,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93169,
    "c": 0.16408,
    "h": 121.2
  },
  "luminance": 0.83588
}

Semantic roles & 50–950 ramp

primary
#D8F973
secondary
#613CD4
accent
#00E639
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F973

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

Preview Lab → · Contrast checker → · Palette generator →

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