#D8F671#D8F671

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

Color values

HEX#D8F671
RGBrgb(216, 246, 113)
HSLhsl(74, 88%, 70%)
HSVhsv(74, 54%, 96%)
CMYKcmyk(12.2%, 0%, 54.1%, 3.5%)
CIE-LABlab(92.44, -28.60, 59.78)
CIE-LCHlch(92.44, 66.27, 115.57°)
OKLaboklab(92.5% -0.0817 0.14)
OKLCHoklch(92.5% 0.162 120.3)
XYZxyz(64.2559, 81.7029, 28.0047)
Luminance0.8170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F671 #8F71F6
analogous
#F6D171 #D8F671 #95F671
triadic
#D8F671 #71D8F6 #F671D8
tetradic
#D8F671 #71F6D1 #8F71F6 #F67195
square
#D8F671 #71F6D1 #8F71F6 #F67195
split-complementary
#D8F671 #7195F6 #D171F6
monochromatic
#AFDE0E #C8F237 #D8F671 #E8FAAB #F7FDE2

Accessibility & contrast

On white

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

On black

17.34
#D8F671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F671
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F671#FFFFFF#000000##000000
##D8F6711.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8f671;
/* rgb */ color: rgb(216, 246, 113);
/* oklch */ color: oklch(92.5% 0.162 120.3);
Tailwind
colors: {
  custom: {
    50: '#e6f99d',
    500: '#d8f671',
    950: '#000000',
  },
}
SCSS
$custom: #d8f671;
$custom-light: #e6f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f671",
  "rgb": {
    "r": 216,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 73.534,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92497,
    "c": 0.16213,
    "h": 120.3
  },
  "luminance": 0.81703
}

Semantic roles & 50–950 ramp

primary
#D8F671
secondary
#5D3BD0
accent
#01E534
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F671

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

Preview Lab → · Contrast checker → · Palette generator →

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