#D8F257#D8F257

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

Color values

HEX#D8F257
RGBrgb(216, 242, 87)
HSLhsl(70, 86%, 65%)
HSVhsv(70, 64%, 95%)
CMYKcmyk(10.7%, 0%, 64%, 5.1%)
CIE-LABlab(91.14, -28.66, 69.23)
CIE-LCHlch(91.14, 74.93, 112.49°)
OKLaboklab(91.38% -0.0843 0.1571)
OKLCHoklch(91.38% 0.178 118.2)
XYZxyz(61.7925, 78.7918, 20.9681)
Luminance0.7879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F257 #7157F2
analogous
#F2BF57 #D8F257 #8AF257
triadic
#D8F257 #57D8F2 #F257D8
tetradic
#D8F257 #57F2BF #7157F2 #F2578A
square
#D8F257 #57F2BF #7157F2 #F2578A
split-complementary
#D8F257 #578AF2 #BF57F2
monochromatic
#A2C00F #CBEE1E #D8F257 #E5F690 #F2FBC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8F257#FFFFFF#000000##000000
##D8F2571.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)
#FFE542
Deuteranopia (green-blind)
#FEE662
Tritanopia (blue-blind)
#E4E5D2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d8f257;
/* rgb */ color: rgb(216, 242, 87);
/* oklch */ color: oklch(91.4% 0.178 118.2);
Tailwind
colors: {
  custom: {
    50: '#e7f68d',
    500: '#d8f257',
    950: '#000000',
  },
}
SCSS
$custom: #d8f257;
$custom-light: #e7f68d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f257",
  "rgb": {
    "r": 216,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 70.065,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91377,
    "c": 0.17829,
    "h": 118.2
  },
  "luminance": 0.78791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8F257

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

Preview Lab → · Contrast checker → · Palette generator →

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