#D8F674#D8F674

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

Color values

HEX#D8F674
RGBrgb(216, 246, 116)
HSLhsl(74, 88%, 71%)
HSVhsv(74, 53%, 96%)
CMYKcmyk(12.2%, 0%, 52.8%, 3.5%)
CIE-LABlab(92.47, -28.34, 58.48)
CIE-LCHlch(92.47, 64.98, 115.86°)
OKLaboklab(92.53% -0.0807 0.1375)
OKLCHoklch(92.53% 0.159 120.4)
XYZxyz(64.4276, 81.7716, 28.9090)
Luminance0.8177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F674 #9274F6
analogous
#F6D374 #D8F674 #97F674
triadic
#D8F674 #74D8F6 #F674D8
tetradic
#D8F674 #74F6D3 #9274F6 #F67497
square
#D8F674 #74F6D3 #9274F6 #F67497
split-complementary
#D8F674 #7497F6 #D374F6
monochromatic
#B0E10F #C8F23B #D8F674 #E8FAAD #F7FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8F674#FFFFFF#000000##000000
##D8F6741.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)
#FFEA67
Deuteranopia (green-blind)
#FFEA7C
Tritanopia (blue-blind)
#E2EBD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d8f674;
/* rgb */ color: rgb(216, 246, 116);
/* oklch */ color: oklch(92.5% 0.159 120.4);
Tailwind
colors: {
  custom: {
    50: '#e6f99f',
    500: '#d8f674',
    950: '#000000',
  },
}
SCSS
$custom: #d8f674;
$custom-light: #e6f99f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f674",
  "rgb": {
    "r": 216,
    "g": 246,
    "b": 116
  },
  "hsl": {
    "h": 73.846,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92531,
    "c": 0.15944,
    "h": 120.4
  },
  "luminance": 0.81771
}

Semantic roles & 50–950 ramp

primary
#D8F674
secondary
#5F3DD1
accent
#01E436
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F674

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

Preview Lab → · Contrast checker → · Palette generator →

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