#D8FA74#D8FA74

#D8FA74 is a very light, vivid yellow-green. Relative luminance 0.842; OKLCH L 93.4% C 0.164 H 121.5°. Best body text is #000000 at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#D8FA74
RGBrgb(216, 250, 116)
HSLhsl(75, 93%, 72%)
HSVhsv(75, 54%, 98%)
CMYKcmyk(13.6%, 0%, 53.6%, 2%)
CIE-LABlab(93.55, -30.21, 59.73)
CIE-LCHlch(93.55, 66.93, 116.83°)
OKLaboklab(93.4% -0.0859 0.1402)
OKLCHoklch(93.4% 0.164 121.5)
XYZxyz(65.6574, 84.2311, 29.3189)
Luminance0.8423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FA74 #9674FA
analogous
#FAD974 #D8FA74 #95FA74
triadic
#D8FA74 #74D8FA #FA74D8
tetradic
#D8FA74 #74FAD9 #9674FA #FA7495
square
#D8FA74 #74FAD9 #9674FA #FA7495
split-complementary
#D8FA74 #7495FA #D974FA
monochromatic
#B2EB08 #C7F839 #D8FA74 #E9FCAF #F7FEE1

Accessibility & contrast

On white

1.18
#D8FA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.85
#D8FA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FA74
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FA74#FFFFFF#000000##000000
##D8FA741.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED67
Deuteranopia (green-blind)
#FFED7C
Tritanopia (blue-blind)
#E2EFDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d8fa74;
/* rgb */ color: rgb(216, 250, 116);
/* oklch */ color: oklch(93.4% 0.164 121.5);
Tailwind
colors: {
  custom: {
    50: '#e6fca0',
    500: '#d8fa74',
    950: '#000000',
  },
}
SCSS
$custom: #d8fa74;
$custom-light: #e6fca0;
$custom-dark: #000000;
JSON
{
  "hex": "#d8fa74",
  "rgb": {
    "r": 216,
    "g": 250,
    "b": 116
  },
  "hsl": {
    "h": 75.224,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.93396,
    "c": 0.16445,
    "h": 121.5
  },
  "luminance": 0.84231
}

Semantic roles & 50–950 ramp

primary
#D8FA74
secondary
#633CD6
accent
#00E63A
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8FA74

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

Preview Lab → · Contrast checker → · Palette generator →

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