#D8F562#D8F562

#D8F562 is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 92.1% C 0.173 H 119.4°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#D8F562
RGBrgb(216, 245, 98)
HSLhsl(72, 88%, 67%)
HSVhsv(72, 60%, 96%)
CMYKcmyk(11.8%, 0%, 60%, 3.9%)
CIE-LABlab(92.04, -29.32, 65.76)
CIE-LCHlch(92.04, 72.00, 114.03°)
OKLaboklab(92.13% -0.0851 0.1512)
OKLCHoklch(92.13% 0.174 119.4)
XYZxyz(63.1768, 80.7859, 23.8179)
Luminance0.8079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F562 #7F62F5
analogous
#F5C962 #D8F562 #8EF562
triadic
#D8F562 #62D8F5 #F562D8
tetradic
#D8F562 #62F5C9 #7F62F5 #F5628E
square
#D8F562 #62F5C9 #7F62F5 #F5628E
split-complementary
#D8F562 #628EF5 #C962F5
monochromatic
#A9CF0D #CAF128 #D8F562 #E6F99C #F5FCD5

Accessibility & contrast

On white

1.22
#D8F562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.16
#D8F562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F562
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F562#FFFFFF#000000##000000
##D8F5621.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FFE96C
Tritanopia (blue-blind)
#E3E9D6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #d8f562;
/* rgb */ color: rgb(216, 245, 98);
/* oklch */ color: oklch(92.1% 0.173 119.4);
Tailwind
colors: {
  custom: {
    50: '#e7f894',
    500: '#d8f562',
    950: '#000000',
  },
}
SCSS
$custom: #d8f562;
$custom-light: #e7f894;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f562",
  "rgb": {
    "r": 216,
    "g": 245,
    "b": 98
  },
  "hsl": {
    "h": 71.837,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.92126,
    "c": 0.1735,
    "h": 119.4
  },
  "luminance": 0.80786
}

Semantic roles & 50–950 ramp

primary
#D8F562
secondary
#4F30CB
accent
#01E52E
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D8F562

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

Preview Lab → · Contrast checker → · Palette generator →

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