#D8F378#D8F378

#D8F378 is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 91.9% C 0.152 H 119.7°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#D8F378
RGBrgb(216, 243, 120)
HSLhsl(73, 84%, 71%)
HSVhsv(73, 51%, 95%)
CMYKcmyk(11.1%, 0%, 50.6%, 4.7%)
CIE-LABlab(91.71, -26.57, 55.77)
CIE-LCHlch(91.71, 61.78, 115.47°)
OKLaboklab(91.93% -0.0754 0.132)
OKLCHoklch(91.93% 0.152 119.7)
XYZxyz(63.7602, 80.0564, 29.8591)
Luminance0.8006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F378 #9378F3
analogous
#F3D078 #D8F378 #9AF378
triadic
#D8F378 #78D8F3 #F378D8
tetradic
#D8F378 #78F3D0 #9378F3 #F3789A
square
#D8F378 #78F3D0 #9378F3 #F3789A
split-complementary
#D8F378 #789AF3 #D078F3
monochromatic
#B1DD14 #C8EE40 #D8F378 #E8F8B0 #F7FDE3

Accessibility & contrast

On white

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

On black

17.01
#D8F378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F378
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F378#FFFFFF#000000##000000
##D8F3781.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FDE87F
Tritanopia (blue-blind)
#E2E8D7
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d8f378;
/* rgb */ color: rgb(216, 243, 120);
/* oklch */ color: oklch(91.9% 0.152 119.7);
Tailwind
colors: {
  custom: {
    50: '#e6f7a2',
    500: '#d8f378',
    950: '#000000',
  },
}
SCSS
$custom: #d8f378;
$custom-light: #e6f7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f378",
  "rgb": {
    "r": 216,
    "g": 243,
    "b": 120
  },
  "hsl": {
    "h": 73.171,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91932,
    "c": 0.15197,
    "h": 119.7
  },
  "luminance": 0.80056
}

Semantic roles & 50–950 ramp

primary
#D8F378
secondary
#6042CE
accent
#05E035
background
#FEFFFC
surface
#FDFEF6
border
#D5D6D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F378

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

Preview Lab → · Contrast checker → · Palette generator →

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