#D8F161#D8F161

#D8F161 is a very light, vivid yellow-green. Relative luminance 0.784; OKLCH L 91.3% C 0.170 H 118.2°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#D8F161
RGBrgb(216, 241, 97)
HSLhsl(70, 84%, 66%)
HSVhsv(70, 60%, 95%)
CMYKcmyk(10.4%, 0%, 59.8%, 5.5%)
CIE-LABlab(90.95, -27.52, 64.99)
CIE-LCHlch(90.95, 70.57, 112.95°)
OKLaboklab(91.25% -0.0802 0.1494)
OKLCHoklch(91.25% 0.17 118.2)
XYZxyz(61.9329, 78.3731, 23.1718)
Luminance0.7837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F161 #7A61F1
analogous
#F1C261 #D8F161 #90F161
triadic
#D8F161 #61D8F1 #F161D8
tetradic
#D8F161 #61F1C2 #7A61F1 #F16190
square
#D8F161 #61F1C2 #7A61F1 #F16190
split-complementary
#D8F161 #6190F1 #C261F1
monochromatic
#A7C612 #CAEC29 #D8F161 #E6F699 #F4FBD1

Accessibility & contrast

On white

1.26
#D8F161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.67
#D8F161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F161
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F161#FFFFFF#000000##000000
##D8F1611.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE550
Deuteranopia (green-blind)
#FDE66A
Tritanopia (blue-blind)
#E4E5D2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d8f161;
/* rgb */ color: rgb(216, 241, 97);
/* oklch */ color: oklch(91.3% 0.170 118.2);
Tailwind
colors: {
  custom: {
    50: '#e7f593',
    500: '#d8f161',
    950: '#000000',
  },
}
SCSS
$custom: #d8f161;
$custom-light: #e7f593;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f161",
  "rgb": {
    "r": 216,
    "g": 241,
    "b": 97
  },
  "hsl": {
    "h": 70.417,
    "s": 83.721,
    "l": 66.275
  },
  "oklch": {
    "l": 0.9125,
    "c": 0.16958,
    "h": 118.2
  },
  "luminance": 0.78373
}

Semantic roles & 50–950 ramp

primary
#D8F161
secondary
#4C33C3
accent
#05E02B
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8F161

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

Preview Lab → · Contrast checker → · Palette generator →

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