#D8F673#D8F673

#D8F673 is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.5% C 0.160 H 120.4°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#D8F673
RGBrgb(216, 246, 115)
HSLhsl(74, 88%, 71%)
HSVhsv(74, 53%, 96%)
CMYKcmyk(12.2%, 0%, 53.3%, 3.5%)
CIE-LABlab(92.46, -28.43, 58.91)
CIE-LCHlch(92.46, 65.42, 115.76°)
OKLaboklab(92.52% -0.081 0.1384)
OKLCHoklch(92.52% 0.16 120.4)
XYZxyz(64.3698, 81.7484, 28.6043)
Luminance0.8175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F673 #9173F6
analogous
#F6D273 #D8F673 #97F673
triadic
#D8F673 #73D8F6 #F673D8
tetradic
#D8F673 #73F6D2 #9173F6 #F67397
square
#D8F673 #73F6D2 #9173F6 #F67397
split-complementary
#D8F673 #7397F6 #D273F6
monochromatic
#B0E00E #C8F239 #D8F673 #E8FAAD #F7FDE2

Accessibility & contrast

On white

1.21
#D8F673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#D8F673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F673
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F673#FFFFFF#000000##000000
##D8F6731.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA66
Deuteranopia (green-blind)
#FFEA7B
Tritanopia (blue-blind)
#E2EBD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d8f673;
/* rgb */ color: rgb(216, 246, 115);
/* oklch */ color: oklch(92.5% 0.160 120.4);
Tailwind
colors: {
  custom: {
    50: '#e6f99f',
    500: '#d8f673',
    950: '#000000',
  },
}
SCSS
$custom: #d8f673;
$custom-light: #e6f99f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f673",
  "rgb": {
    "r": 216,
    "g": 246,
    "b": 115
  },
  "hsl": {
    "h": 73.74,
    "s": 87.919,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9252,
    "c": 0.16034,
    "h": 120.4
  },
  "luminance": 0.81748
}

Semantic roles & 50–950 ramp

primary
#D8F673
secondary
#5E3DD1
accent
#01E435
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F673

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

Preview Lab → · Contrast checker → · Palette generator →

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