#D8FA54#D8FA54

#D8FA54 is a very light, vivid yellow-green. Relative luminance 0.836; OKLCH L 93.1% C 0.190 H 120.2°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#D8FA54
RGBrgb(216, 250, 84)
HSLhsl(72, 94%, 65%)
HSVhsv(72, 66%, 98%)
CMYKcmyk(13.6%, 0%, 66.4%, 2%)
CIE-LABlab(93.28, -32.55, 72.59)
CIE-LCHlch(93.28, 79.56, 114.15°)
OKLaboklab(93.09% -0.0954 0.1638)
OKLCHoklch(93.09% 0.19 120.2)
XYZxyz(64.1058, 83.6105, 21.1470)
Luminance0.8361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FA54 #7654FA
analogous
#FAC954 #D8FA54 #85FA54
triadic
#D8FA54 #54D8FA #FA54D8
tetradic
#D8FA54 #54FAC9 #7654FA #FA5485
square
#D8FA54 #54FAC9 #7654FA #FA5485
split-complementary
#D8FA54 #5485FA #C954FA
monochromatic
#A5CE06 #CAF819 #D8FA54 #E6FC8F #F3FDCB

Accessibility & contrast

On white

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

On black

17.72
#D8FA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FA54
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FA54#FFFFFF#000000##000000
##D8FA541.001.1817.7217.72
#FFFFFF1.181.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC3C
Deuteranopia (green-blind)
#FFEC61
Tritanopia (blue-blind)
#E4EDD9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d8fa54;
/* rgb */ color: rgb(216, 250, 84);
/* oklch */ color: oklch(93.1% 0.190 120.2);
Tailwind
colors: {
  custom: {
    50: '#e7fc8c',
    500: '#d8fa54',
    950: '#000000',
  },
}
SCSS
$custom: #d8fa54;
$custom-light: #e7fc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8fa54",
  "rgb": {
    "r": 216,
    "g": 250,
    "b": 84
  },
  "hsl": {
    "h": 72.289,
    "s": 94.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.93093,
    "c": 0.18951,
    "h": 120.2
  },
  "luminance": 0.8361
}

Semantic roles & 50–950 ramp

primary
#D8FA54
secondary
#4A29C9
accent
#00E62F
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8FA54

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

Preview Lab → · Contrast checker → · Palette generator →

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