#D8FA56#D8FA56

#D8FA56 is a very light, vivid yellow-green. Relative luminance 0.836; OKLCH L 93.1% C 0.188 H 120.3°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#D8FA56
RGBrgb(216, 250, 86)
HSLhsl(72, 94%, 66%)
HSVhsv(72, 66%, 98%)
CMYKcmyk(13.6%, 0%, 65.6%, 2%)
CIE-LABlab(93.29, -32.43, 71.86)
CIE-LCHlch(93.29, 78.84, 114.29°)
OKLaboklab(93.11% -0.0949 0.1625)
OKLCHoklch(93.11% 0.188 120.3)
XYZxyz(64.1852, 83.6422, 21.5655)
Luminance0.8364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FA56 #7856FA
analogous
#FACA56 #D8FA56 #86FA56
triadic
#D8FA56 #56D8FA #FA56D8
tetradic
#D8FA56 #56FACA #7856FA #FA5686
square
#D8FA56 #56FACA #7856FA #FA5686
split-complementary
#D8FA56 #5686FA #CA56FA
monochromatic
#A6CF06 #CAF81B #D8FA56 #E6FC91 #F3FECD

Accessibility & contrast

On white

1.18
#D8FA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.73
#D8FA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FA56
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FA56#FFFFFF#000000##000000
##D8FA561.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC3F
Deuteranopia (green-blind)
#FFEC62
Tritanopia (blue-blind)
#E4EDD9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d8fa56;
/* rgb */ color: rgb(216, 250, 86);
/* oklch */ color: oklch(93.1% 0.188 120.3);
Tailwind
colors: {
  custom: {
    50: '#e7fc8e',
    500: '#d8fa56',
    950: '#000000',
  },
}
SCSS
$custom: #d8fa56;
$custom-light: #e7fc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8fa56",
  "rgb": {
    "r": 216,
    "g": 250,
    "b": 86
  },
  "hsl": {
    "h": 72.439,
    "s": 94.253,
    "l": 65.882
  },
  "oklch": {
    "l": 0.93108,
    "c": 0.18817,
    "h": 120.3
  },
  "luminance": 0.83642
}

Semantic roles & 50–950 ramp

primary
#D8FA56
secondary
#4B2ACB
accent
#00E630
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8FA56

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

Preview Lab → · Contrast checker → · Palette generator →

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