#D8F662#D8F662

#D8F662 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.3% C 0.175 H 119.6°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#D8F662
RGBrgb(216, 246, 98)
HSLhsl(72, 89%, 67%)
HSVhsv(72, 60%, 96%)
CMYKcmyk(12.2%, 0%, 60.2%, 3.5%)
CIE-LABlab(92.31, -29.78, 66.06)
CIE-LCHlch(92.31, 72.46, 114.27°)
OKLaboklab(92.34% -0.0864 0.1518)
OKLCHoklch(92.34% 0.175 119.6)
XYZxyz(63.4802, 81.3926, 23.9190)
Luminance0.8139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F662 #8062F6
analogous
#F6CA62 #D8F662 #8EF662
triadic
#D8F662 #62D8F6 #F662D8
tetradic
#D8F662 #62F6CA #8062F6 #F6628E
square
#D8F662 #62F6CA #8062F6 #F6628E
split-complementary
#D8F662 #628EF6 #CA62F6
monochromatic
#AAD20C #CAF328 #D8F662 #E6F99C #F5FDD6

Accessibility & contrast

On white

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

On black

17.28
#D8F662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F662
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F662#FFFFFF#000000##000000
##D8F6621.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE951
Deuteranopia (green-blind)
#FFE96C
Tritanopia (blue-blind)
#E3EAD7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d8f662;
/* rgb */ color: rgb(216, 246, 98);
/* oklch */ color: oklch(92.3% 0.175 119.6);
Tailwind
colors: {
  custom: {
    50: '#e7f994',
    500: '#d8f662',
    950: '#000000',
  },
}
SCSS
$custom: #d8f662;
$custom-light: #e7f994;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f662",
  "rgb": {
    "r": 216,
    "g": 246,
    "b": 98
  },
  "hsl": {
    "h": 72.162,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.92342,
    "c": 0.17469,
    "h": 119.6
  },
  "luminance": 0.81392
}

Semantic roles & 50–950 ramp

primary
#D8F662
secondary
#4F2FCD
accent
#00E62F
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D8F662

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

Preview Lab → · Contrast checker → · Palette generator →

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