#D8F58A#D8F58A

#D8F58A is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.6% C 0.137 H 121.5°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#D8F58A
RGBrgb(216, 245, 138)
HSLhsl(76, 84%, 75%)
HSVhsv(76, 44%, 96%)
CMYKcmyk(11.8%, 0%, 43.7%, 3.9%)
CIE-LABlab(92.46, -25.72, 48.24)
CIE-LCHlch(92.46, 54.67, 118.07°)
OKLaboklab(92.6% -0.0715 0.1166)
OKLCHoklch(92.6% 0.137 121.5)
XYZxyz(65.5589, 81.7387, 36.3632)
Luminance0.8174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F58A #A78AF5
analogous
#F5DD8A #D8F58A #A2F58A
triadic
#D8F58A #8AD8F5 #F58AD8
tetradic
#D8F58A #8AF5DD #A78AF5 #F58AA2
square
#D8F58A #8AF5DD #A78AF5 #F58AA2
split-complementary
#D8F58A #8AA2F5 #DD8AF5
monochromatic
#B2EB19 #C5F052 #D8F58A #EBFAC2 #F6FDE3

Accessibility & contrast

On white

1.21
#D8F58A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#D8F58A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F58A
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F58A#FFFFFF#000000##000000
##D8F58A1.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA81
Deuteranopia (green-blind)
#FDE990
Tritanopia (blue-blind)
#E0EBDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d8f58a;
/* rgb */ color: rgb(216, 245, 138);
/* oklch */ color: oklch(92.6% 0.137 121.5);
Tailwind
colors: {
  custom: {
    50: '#e5f8ae',
    500: '#d8f58a',
    950: '#000000',
  },
}
SCSS
$custom: #d8f58a;
$custom-light: #e5f8ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f58a",
  "rgb": {
    "r": 216,
    "g": 245,
    "b": 138
  },
  "hsl": {
    "h": 76.262,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.92602,
    "c": 0.13678,
    "h": 121.5
  },
  "luminance": 0.81739
}

Semantic roles & 50–950 ramp

primary
#D8F58A
secondary
#7451D2
accent
#05E140
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #D8F58A

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

Preview Lab → · Contrast checker → · Palette generator →

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