#D8E54E#D8E54E

#D8E54E is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 88.5% C 0.170 H 114.1°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#D8E54E
RGBrgb(216, 229, 78)
HSLhsl(65, 74%, 60%)
HSVhsv(65, 66%, 90%)
CMYKcmyk(5.7%, 0%, 65.9%, 10.2%)
CIE-LABlab(87.58, -23.05, 69.00)
CIE-LCHlch(87.58, 72.75, 108.47°)
OKLaboklab(88.5% -0.0695 0.1553)
OKLCHoklch(88.5% 0.17 114.1)
XYZxyz(57.7149, 71.1887, 17.9067)
Luminance0.7119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E54E #5B4EE5
analogous
#E5A74E #D8E54E #8CE54E
triadic
#D8E54E #4ED8E5 #E54ED8
tetradic
#D8E54E #4EE5A7 #5B4EE5 #E54E8C
square
#D8E54E #4EE5A7 #5B4EE5 #E54E8C
split-complementary
#D8E54E #4E8CE5 #A74EE5
monochromatic
#95A118 #C7D61F #D8E54E #E4ED83 #F0F5B9

Accessibility & contrast

On white

1.38
#D8E54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.24
#D8E54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E54E
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E54E#FFFFFF#000000##000000
##D8E54E1.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA38
Deuteranopia (green-blind)
#F5DD59
Tritanopia (blue-blind)
#E6D8C7
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d8e54e;
/* rgb */ color: rgb(216, 229, 78);
/* oklch */ color: oklch(88.5% 0.170 114.1);
Tailwind
colors: {
  custom: {
    50: '#e7ed87',
    500: '#d8e54e',
    950: '#000000',
  },
}
SCSS
$custom: #d8e54e;
$custom-light: #e7ed87;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e54e",
  "rgb": {
    "r": 216,
    "g": 229,
    "b": 78
  },
  "hsl": {
    "h": 65.166,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.88497,
    "c": 0.17016,
    "h": 114.1
  },
  "luminance": 0.71188
}

Semantic roles & 50–950 ramp

primary
#D8E54E
secondary
#3D34A4
accent
#0FD720
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8E54E

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

Preview Lab → · Contrast checker → · Palette generator →

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