#D8F962#D8F962

#D8F962 is a very light, vivid yellow-green. Relative luminance 0.832; OKLCH L 93.0% C 0.178 H 120.4°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#D8F962
RGBrgb(216, 249, 98)
HSLhsl(73, 93%, 68%)
HSVhsv(73, 61%, 98%)
CMYKcmyk(13.3%, 0%, 60.6%, 2.4%)
CIE-LABlab(93.12, -31.17, 66.94)
CIE-LCHlch(93.12, 73.84, 114.97°)
OKLaboklab(92.99% -0.0903 0.1537)
OKLCHoklch(92.99% 0.178 120.4)
XYZxyz(64.4000, 83.2323, 24.2257)
Luminance0.8323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F962 #8362F9
analogous
#F9CF62 #D8F962 #8CF962
triadic
#D8F962 #62D8F9 #F962D8
tetradic
#D8F962 #62F9CF #8362F9 #F9628C
square
#D8F962 #62F9CF #8362F9 #F9628C
split-complementary
#D8F962 #628CF9 #CF62F9
monochromatic
#ABD808 #C9F727 #D8F962 #E7FB9D #F5FED8

Accessibility & contrast

On white

1.19
#D8F962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.65
#D8F962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F962
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F962#FFFFFF#000000##000000
##D8F9621.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC50
Deuteranopia (green-blind)
#FFEC6C
Tritanopia (blue-blind)
#E3EDD9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d8f962;
/* rgb */ color: rgb(216, 249, 98);
/* oklch */ color: oklch(93.0% 0.178 120.4);
Tailwind
colors: {
  custom: {
    50: '#e7fb94',
    500: '#d8f962',
    950: '#000000',
  },
}
SCSS
$custom: #d8f962;
$custom-light: #e7fb94;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f962",
  "rgb": {
    "r": 216,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 73.113,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.92994,
    "c": 0.17825,
    "h": 120.4
  },
  "luminance": 0.83232
}

Semantic roles & 50–950 ramp

primary
#D8F962
secondary
#512DD2
accent
#00E632
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D8F962

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

Preview Lab → · Contrast checker → · Palette generator →

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