#D8FB5A#D8FB5A

#D8FB5A is a very light, vivid yellow-green. Relative luminance 0.843; OKLCH L 93.4% C 0.187 H 120.7°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#D8FB5A
RGBrgb(216, 251, 90)
HSLhsl(73, 95%, 67%)
HSVhsv(73, 64%, 98%)
CMYKcmyk(13.9%, 0%, 64.1%, 1.6%)
CIE-LABlab(93.59, -32.64, 70.64)
CIE-LCHlch(93.59, 77.82, 114.80°)
OKLaboklab(93.36% -0.0951 0.1605)
OKLCHoklch(93.36% 0.187 120.7)
XYZxyz(64.6625, 84.3316, 22.5420)
Luminance0.8433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FB5A #7D5AFB
analogous
#FBCD5A #D8FB5A #88FB5A
triadic
#D8FB5A #5AD8FB #FB5AD8
tetradic
#D8FB5A #5AFBCD #7D5AFB #FB5A88
square
#D8FB5A #5AFBCD #7D5AFB #FB5A88
split-complementary
#D8FB5A #5A88FB #CD5AFB
monochromatic
#A8D505 #CAFA1E #D8FB5A #E6FC96 #F4FED2

Accessibility & contrast

On white

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

On black

17.87
#D8FB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FB5A
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FB5A#FFFFFF#000000##000000
##D8FB5A1.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED44
Deuteranopia (green-blind)
#FFED66
Tritanopia (blue-blind)
#E3EFDA
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #d8fb5a;
/* rgb */ color: rgb(216, 251, 90);
/* oklch */ color: oklch(93.4% 0.187 120.7);
Tailwind
colors: {
  custom: {
    50: '#e7fc90',
    500: '#d8fb5a',
    950: '#000000',
  },
}
SCSS
$custom: #d8fb5a;
$custom-light: #e7fc90;
$custom-dark: #000000;
JSON
{
  "hex": "#d8fb5a",
  "rgb": {
    "r": 216,
    "g": 251,
    "b": 90
  },
  "hsl": {
    "h": 73.043,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.93359,
    "c": 0.18653,
    "h": 120.7
  },
  "luminance": 0.84331
}

Semantic roles & 50–950 ramp

primary
#D8FB5A
secondary
#4E2AD0
accent
#00E632
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8FB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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