#D8F474#D8F474

#D8F474 is a very light, vivid yellow-green. Relative luminance 0.806; OKLCH L 92.1% C 0.157 H 119.8°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#D8F474
RGBrgb(216, 244, 116)
HSLhsl(73, 85%, 71%)
HSVhsv(73, 52%, 96%)
CMYKcmyk(11.5%, 0%, 52.5%, 4.3%)
CIE-LABlab(91.94, -27.40, 57.85)
CIE-LCHlch(91.94, 64.01, 115.35°)
OKLaboklab(92.1% -0.0781 0.1361)
OKLCHoklch(92.1% 0.157 119.8)
XYZxyz(63.8226, 80.5615, 28.7073)
Luminance0.8056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F474 #9074F4
analogous
#F4D074 #D8F474 #98F474
triadic
#D8F474 #74D8F4 #F474D8
tetradic
#D8F474 #74F4D0 #9074F4 #F47498
square
#D8F474 #74F4D0 #9074F4 #F47498
split-complementary
#D8F474 #7498F4 #D074F4
monochromatic
#B0DC11 #C8F03B #D8F474 #E8F8AD #F7FDE3

Accessibility & contrast

On white

1.23
#D8F474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.11
#D8F474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F474
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F474#FFFFFF#000000##000000
##D8F4741.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE868
Deuteranopia (green-blind)
#FEE87C
Tritanopia (blue-blind)
#E2E9D7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #d8f474;
/* rgb */ color: rgb(216, 244, 116);
/* oklch */ color: oklch(92.1% 0.157 119.8);
Tailwind
colors: {
  custom: {
    50: '#e6f79f',
    500: '#d8f474',
    950: '#000000',
  },
}
SCSS
$custom: #d8f474;
$custom-light: #e6f79f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f474",
  "rgb": {
    "r": 216,
    "g": 244,
    "b": 116
  },
  "hsl": {
    "h": 73.125,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.921,
    "c": 0.15694,
    "h": 119.8
  },
  "luminance": 0.80561
}

Semantic roles & 50–950 ramp

primary
#D8F474
secondary
#5D3ECE
accent
#04E234
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F474

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

Preview Lab → · Contrast checker → · Palette generator →

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