#D8F672#D8F672

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

Color values

HEX#D8F672
RGBrgb(216, 246, 114)
HSLhsl(74, 88%, 71%)
HSVhsv(74, 54%, 96%)
CMYKcmyk(12.2%, 0%, 53.7%, 3.5%)
CIE-LABlab(92.45, -28.51, 59.35)
CIE-LCHlch(92.45, 65.84, 115.66°)
OKLaboklab(92.51% -0.0814 0.1392)
OKLCHoklch(92.51% 0.161 120.3)
XYZxyz(64.3126, 81.7255, 28.3029)
Luminance0.8173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F672 #9072F6
analogous
#F6D272 #D8F672 #96F672
triadic
#D8F672 #72D8F6 #F672D8
tetradic
#D8F672 #72F6D2 #9072F6 #F67296
square
#D8F672 #72F6D2 #9072F6 #F67296
split-complementary
#D8F672 #7296F6 #D272F6
monochromatic
#B0DF0E #C8F238 #D8F672 #E8FAAC #F7FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8F672#FFFFFF#000000##000000
##D8F6721.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)
#FFEA65
Deuteranopia (green-blind)
#FFEA7A
Tritanopia (blue-blind)
#E2EBD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d8f672;
/* rgb */ color: rgb(216, 246, 114);
/* oklch */ color: oklch(92.5% 0.161 120.3);
Tailwind
colors: {
  custom: {
    50: '#e6f99e',
    500: '#d8f672',
    950: '#000000',
  },
}
SCSS
$custom: #d8f672;
$custom-light: #e6f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f672",
  "rgb": {
    "r": 216,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 73.636,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92508,
    "c": 0.16124,
    "h": 120.3
  },
  "luminance": 0.81725
}

Semantic roles & 50–950 ramp

primary
#D8F672
secondary
#5D3CD1
accent
#01E535
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F672

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

Preview Lab → · Contrast checker → · Palette generator →

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