#D8F97A#D8F97A

#D8F97A is a very light, vivid yellow-green. Relative luminance 0.838; OKLCH L 93.3% C 0.158 H 121.6°. Best body text is #000000 at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#D8F97A
RGBrgb(216, 249, 122)
HSLhsl(76, 91%, 73%)
HSVhsv(76, 51%, 98%)
CMYKcmyk(13.3%, 0%, 51%, 2.4%)
CIE-LABlab(93.34, -29.20, 56.79)
CIE-LCHlch(93.34, 63.86, 117.21°)
OKLaboklab(93.25% -0.0826 0.1344)
OKLCHoklch(93.25% 0.158 121.6)
XYZxyz(65.7078, 83.7554, 31.1134)
Luminance0.8376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F97A #9B7AF9
analogous
#F9DB7A #D8F97A #98F97A
triadic
#D8F97A #7AD8F9 #F97AD8
tetradic
#D8F97A #7AF9DB #9B7AF9 #F97A98
square
#D8F97A #7AF9DB #9B7AF9 #F97A98
split-complementary
#D8F97A #7A98F9 #DB7AF9
monochromatic
#B3EE0B #C7F63F #D8F97A #E9FCB5 #F6FEE2

Accessibility & contrast

On white

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

On black

17.75
#D8F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F97A
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F97A#FFFFFF#000000##000000
##D8F97A1.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6E
Deuteranopia (green-blind)
#FFEC81
Tritanopia (blue-blind)
#E1EEDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d8f97a;
/* rgb */ color: rgb(216, 249, 122);
/* oklch */ color: oklch(93.3% 0.158 121.6);
Tailwind
colors: {
  custom: {
    50: '#e6fba3',
    500: '#d8f97a',
    950: '#000000',
  },
}
SCSS
$custom: #d8f97a;
$custom-light: #e6fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f97a",
  "rgb": {
    "r": 216,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 75.591,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93251,
    "c": 0.15772,
    "h": 121.6
  },
  "luminance": 0.83755
}

Semantic roles & 50–950 ramp

primary
#D8F97A
secondary
#6842D5
accent
#00E63C
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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