#D8F774#D8F774

#D8F774 is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.7% C 0.161 H 120.7°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#D8F774
RGBrgb(216, 247, 116)
HSLhsl(74, 89%, 71%)
HSVhsv(74, 53%, 97%)
CMYKcmyk(12.6%, 0%, 53%, 3.1%)
CIE-LABlab(92.74, -28.81, 58.79)
CIE-LCHlch(92.74, 65.47, 116.11°)
OKLaboklab(92.75% -0.082 0.1382)
OKLCHoklch(92.75% 0.161 120.7)
XYZxyz(64.7326, 82.3815, 29.0106)
Luminance0.8238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F774 #9374F7
analogous
#F7D474 #D8F774 #96F774
triadic
#D8F774 #74D8F7 #F774D8
tetradic
#D8F774 #74F7D4 #9374F7 #F77496
square
#D8F774 #74F7D4 #9374F7 #F77496
split-complementary
#D8F774 #7496F7 #D474F7
monochromatic
#B1E40D #C8F43A #D8F774 #E8FAAE #F7FDE2

Accessibility & contrast

On white

1.20
#D8F774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.48
#D8F774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F774
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F774#FFFFFF#000000##000000
##D8F7741.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB67
Deuteranopia (green-blind)
#FFEA7C
Tritanopia (blue-blind)
#E2ECDA
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d8f774;
/* rgb */ color: rgb(216, 247, 116);
/* oklch */ color: oklch(92.7% 0.161 120.7);
Tailwind
colors: {
  custom: {
    50: '#e6f99f',
    500: '#d8f774',
    950: '#000000',
  },
}
SCSS
$custom: #d8f774;
$custom-light: #e6f99f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f774",
  "rgb": {
    "r": 216,
    "g": 247,
    "b": 116
  },
  "hsl": {
    "h": 74.198,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92747,
    "c": 0.16069,
    "h": 120.7
  },
  "luminance": 0.82381
}

Semantic roles & 50–950 ramp

primary
#D8F774
secondary
#603DD2
accent
#00E636
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F774

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

Preview Lab → · Contrast checker → · Palette generator →

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