#D8E54D#D8E54D

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

Color values

HEX#D8E54D
RGBrgb(216, 229, 77)
HSLhsl(65, 75%, 60%)
HSVhsv(65, 66%, 90%)
CMYKcmyk(5.7%, 0%, 66.4%, 10.2%)
CIE-LABlab(87.57, -23.11, 69.38)
CIE-LCHlch(87.57, 73.12, 108.42°)
OKLaboklab(88.49% -0.0698 0.156)
OKLCHoklch(88.49% 0.171 114.1)
XYZxyz(57.6793, 71.1744, 17.7193)
Luminance0.7117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E54D #5A4DE5
analogous
#E5A64D #D8E54D #8CE54D
triadic
#D8E54D #4DD8E5 #E54DD8
tetradic
#D8E54D #4DE5A6 #5A4DE5 #E54D8C
square
#D8E54D #4DE5A6 #5A4DE5 #E54D8C
split-complementary
#D8E54D #4D8CE5 #A64DE5
monochromatic
#94A017 #C6D61F #D8E54D #E4ED82 #EFF5B8

Accessibility & contrast

On white

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

On black

15.23
#D8E54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E54D
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E54D#FFFFFF#000000##000000
##D8E54D1.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA37
Deuteranopia (green-blind)
#F5DD58
Tritanopia (blue-blind)
#E6D8C6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d8e54d;
/* rgb */ color: rgb(216, 229, 77);
/* oklch */ color: oklch(88.5% 0.171 114.1);
Tailwind
colors: {
  custom: {
    50: '#e7ed87',
    500: '#d8e54d',
    950: '#000000',
  },
}
SCSS
$custom: #d8e54d;
$custom-light: #e7ed87;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e54d",
  "rgb": {
    "r": 216,
    "g": 229,
    "b": 77
  },
  "hsl": {
    "h": 65.132,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.8849,
    "c": 0.17084,
    "h": 114.1
  },
  "luminance": 0.71173
}

Semantic roles & 50–950 ramp

primary
#D8E54D
secondary
#3D33A3
accent
#37F147
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8E54D

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

Preview Lab → · Contrast checker → · Palette generator →

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