#D8F173#D8F173

#D8F173 is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 91.4% C 0.154 H 118.9°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#D8F173
RGBrgb(216, 241, 115)
HSLhsl(72, 82%, 70%)
HSVhsv(72, 52%, 95%)
CMYKcmyk(10.4%, 0%, 52.3%, 5.5%)
CIE-LABlab(91.12, -26.07, 57.35)
CIE-LCHlch(91.12, 63.00, 114.45°)
OKLaboklab(91.44% -0.0744 0.135)
OKLCHoklch(91.44% 0.154 118.9)
XYZxyz(62.8694, 78.7477, 28.1041)
Luminance0.7875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F173 #8C73F1
analogous
#F1CB73 #D8F173 #99F173
triadic
#D8F173 #73D8F1 #F173D8
tetradic
#D8F173 #73F1CB #8C73F1 #F17399
square
#D8F173 #73F1CB #8C73F1 #F17399
split-complementary
#D8F173 #7399F1 #CB73F1
monochromatic
#AED415 #C9EB3B #D8F173 #E7F7AB #F7FCE2

Accessibility & contrast

On white

1.25
#D8F173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.75
#D8F173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F173
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F173#FFFFFF#000000##000000
##D8F1731.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE567
Deuteranopia (green-blind)
#FCE67A
Tritanopia (blue-blind)
#E2E6D5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d8f173;
/* rgb */ color: rgb(216, 241, 115);
/* oklch */ color: oklch(91.4% 0.154 118.9);
Tailwind
colors: {
  custom: {
    50: '#e6f59e',
    500: '#d8f173',
    950: '#000000',
  },
}
SCSS
$custom: #d8f173;
$custom-light: #e6f59e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f173",
  "rgb": {
    "r": 216,
    "g": 241,
    "b": 115
  },
  "hsl": {
    "h": 71.905,
    "s": 81.818,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91441,
    "c": 0.15412,
    "h": 118.9
  },
  "luminance": 0.78747
}

Semantic roles & 50–950 ramp

primary
#D8F173
secondary
#5A3ECA
accent
#07DE32
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F173

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

Preview Lab → · Contrast checker → · Palette generator →

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