#D8F57A#D8F57A

#D8F57A is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.4% C 0.153 H 120.4°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#D8F57A
RGBrgb(216, 245, 122)
HSLhsl(74, 86%, 72%)
HSVhsv(74, 50%, 96%)
CMYKcmyk(11.8%, 0%, 50.2%, 3.9%)
CIE-LABlab(92.27, -27.33, 55.52)
CIE-LCHlch(92.27, 61.88, 116.21°)
OKLaboklab(92.39% -0.0773 0.1316)
OKLCHoklch(92.39% 0.153 120.4)
XYZxyz(64.4846, 81.3090, 30.7056)
Luminance0.8131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F57A #977AF5
analogous
#F5D47A #D8F57A #9BF57A
triadic
#D8F57A #7AD8F5 #F57AD8
tetradic
#D8F57A #7AF5D4 #977AF5 #F57A9B
square
#D8F57A #7AF5D4 #977AF5 #F57A9B
split-complementary
#D8F57A #7A9BF5 #D47AF5
monochromatic
#B2E311 #C7F141 #D8F57A #E9F9B3 #F7FDE3

Accessibility & contrast

On white

1.22
#D8F57A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#D8F57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F57A
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F57A#FFFFFF#000000##000000
##D8F57A1.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96F
Deuteranopia (green-blind)
#FEE981
Tritanopia (blue-blind)
#E2EAD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d8f57a;
/* rgb */ color: rgb(216, 245, 122);
/* oklch */ color: oklch(92.4% 0.153 120.4);
Tailwind
colors: {
  custom: {
    50: '#e6f8a3',
    500: '#d8f57a',
    950: '#000000',
  },
}
SCSS
$custom: #d8f57a;
$custom-light: #e6f8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f57a",
  "rgb": {
    "r": 216,
    "g": 245,
    "b": 122
  },
  "hsl": {
    "h": 74.146,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92387,
    "c": 0.15263,
    "h": 120.4
  },
  "luminance": 0.81309
}

Semantic roles & 50–950 ramp

primary
#D8F57A
secondary
#6443D0
accent
#03E338
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F57A

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

Preview Lab → · Contrast checker → · Palette generator →

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