#D8F258#D8F258

#D8F258 is a very light, vivid yellow-green. Relative luminance 0.788; OKLCH L 91.4% C 0.178 H 118.3°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#D8F258
RGBrgb(216, 242, 88)
HSLhsl(70, 86%, 65%)
HSVhsv(70, 64%, 95%)
CMYKcmyk(10.7%, 0%, 63.6%, 5.1%)
CIE-LABlab(91.15, -28.60, 68.85)
CIE-LCHlch(91.15, 74.55, 112.56°)
OKLaboklab(91.39% -0.084 0.1564)
OKLCHoklch(91.39% 0.178 118.3)
XYZxyz(61.8336, 78.8083, 21.1847)
Luminance0.7881 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F258 #7258F2
analogous
#F2BF58 #D8F258 #8BF258
triadic
#D8F258 #58D8F2 #F258D8
tetradic
#D8F258 #58F2BF #7258F2 #F2588B
square
#D8F258 #58F2BF #7258F2 #F2588B
split-complementary
#D8F258 #588BF2 #BF58F2
monochromatic
#A3C10F #CBEE1F #D8F258 #E5F691 #F3FBCA

Accessibility & contrast

On white

1.25
#D8F258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#D8F258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F258
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F258#FFFFFF#000000##000000
##D8F2581.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE544
Deuteranopia (green-blind)
#FEE663
Tritanopia (blue-blind)
#E4E5D2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d8f258;
/* rgb */ color: rgb(216, 242, 88);
/* oklch */ color: oklch(91.4% 0.178 118.3);
Tailwind
colors: {
  custom: {
    50: '#e7f68e',
    500: '#d8f258',
    950: '#000000',
  },
}
SCSS
$custom: #d8f258;
$custom-light: #e7f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f258",
  "rgb": {
    "r": 216,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 70.13,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91386,
    "c": 0.17757,
    "h": 118.3
  },
  "luminance": 0.78808
}

Semantic roles & 50–950 ramp

primary
#D8F258
secondary
#4830BE
accent
#03E229
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8F258

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

Preview Lab → · Contrast checker → · Palette generator →

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