#D8FA57#D8FA57

#D8FA57 is a very light, vivid yellow-green. Relative luminance 0.837; OKLCH L 93.1% C 0.187 H 120.3°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#D8FA57
RGBrgb(216, 250, 87)
HSLhsl(73, 94%, 66%)
HSVhsv(73, 65%, 98%)
CMYKcmyk(13.6%, 0%, 65.2%, 2%)
CIE-LABlab(93.30, -32.37, 71.49)
CIE-LCHlch(93.30, 78.47, 114.36°)
OKLaboklab(93.12% -0.0946 0.1618)
OKLCHoklch(93.12% 0.187 120.3)
XYZxyz(64.2258, 83.6585, 21.7792)
Luminance0.8366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FA57 #7957FA
analogous
#FACA57 #D8FA57 #86FA57
triadic
#D8FA57 #57D8FA #FA57D8
tetradic
#D8FA57 #57FACA #7957FA #FA5786
square
#D8FA57 #57FACA #7957FA #FA5786
split-complementary
#D8FA57 #5786FA #CA57FA
monochromatic
#A6D006 #CAF81C #D8FA57 #E6FC92 #F4FECE

Accessibility & contrast

On white

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

On black

17.73
#D8FA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FA57
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FA57#FFFFFF#000000##000000
##D8FA571.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC40
Deuteranopia (green-blind)
#FFEC63
Tritanopia (blue-blind)
#E3EDD9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d8fa57;
/* rgb */ color: rgb(216, 250, 87);
/* oklch */ color: oklch(93.1% 0.187 120.3);
Tailwind
colors: {
  custom: {
    50: '#e7fc8e',
    500: '#d8fa57',
    950: '#000000',
  },
}
SCSS
$custom: #d8fa57;
$custom-light: #e7fc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8fa57",
  "rgb": {
    "r": 216,
    "g": 250,
    "b": 87
  },
  "hsl": {
    "h": 72.515,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.93116,
    "c": 0.18748,
    "h": 120.3
  },
  "luminance": 0.83658
}

Semantic roles & 50–950 ramp

primary
#D8FA57
secondary
#4B2ACB
accent
#00E630
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8FA57

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

Preview Lab → · Contrast checker → · Palette generator →

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