#D8F952#D8F952

#D8F952 is a very light, vivid yellow-green. Relative luminance 0.830; OKLCH L 92.9% C 0.190 H 119.9°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#D8F952
RGBrgb(216, 249, 82)
HSLhsl(72, 93%, 65%)
HSVhsv(72, 67%, 98%)
CMYKcmyk(13.3%, 0%, 67.1%, 2.4%)
CIE-LABlab(93.00, -32.21, 73.04)
CIE-LCHlch(93.00, 79.83, 113.80°)
OKLaboklab(92.86% -0.0946 0.1644)
OKLCHoklch(92.86% 0.19 119.9)
XYZxyz(63.7187, 82.9598, 20.6371)
Luminance0.8296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F952 #7352F9
analogous
#F9C652 #D8F952 #85F952
triadic
#D8F952 #52D8F9 #F952D8
tetradic
#D8F952 #52F9C6 #7352F9 #F95285
square
#D8F952 #52F9C6 #7352F9 #F95285
split-complementary
#D8F952 #5285F9 #C652F9
monochromatic
#A3CA07 #CBF717 #D8F952 #E5FB8D #F3FDC8

Accessibility & contrast

On white

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

On black

17.59
#D8F952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F952
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F952#FFFFFF#000000##000000
##D8F9521.001.1917.5917.59
#FFFFFF1.191.0021.0021.00
#00000017.5921.001.001.00
##00000017.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB39
Deuteranopia (green-blind)
#FFEB5F
Tritanopia (blue-blind)
#E4ECD8
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d8f952;
/* rgb */ color: rgb(216, 249, 82);
/* oklch */ color: oklch(92.9% 0.190 119.9);
Tailwind
colors: {
  custom: {
    50: '#e7fb8b',
    500: '#d8f952',
    950: '#000000',
  },
}
SCSS
$custom: #d8f952;
$custom-light: #e7fb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f952",
  "rgb": {
    "r": 216,
    "g": 249,
    "b": 82
  },
  "hsl": {
    "h": 71.856,
    "s": 93.296,
    "l": 64.902
  },
  "oklch": {
    "l": 0.92859,
    "c": 0.18969,
    "h": 119.9
  },
  "luminance": 0.82959
}

Semantic roles & 50–950 ramp

primary
#D8F952
secondary
#4829C6
accent
#00E62D
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8F952

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

Preview Lab → · Contrast checker → · Palette generator →

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