#D8E54F#D8E54F

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

Color values

HEX#D8E54F
RGBrgb(216, 229, 79)
HSLhsl(65, 74%, 60%)
HSVhsv(65, 66%, 90%)
CMYKcmyk(5.7%, 0%, 65.5%, 10.2%)
CIE-LABlab(87.58, -22.99, 68.63)
CIE-LCHlch(87.58, 72.38, 108.52°)
OKLaboklab(88.51% -0.0692 0.1547)
OKLCHoklch(88.51% 0.169 114.1)
XYZxyz(57.7510, 71.2031, 18.0970)
Luminance0.7120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E54F #5C4FE5
analogous
#E5A74F #D8E54F #8DE54F
triadic
#D8E54F #4FD8E5 #E54FD8
tetradic
#D8E54F #4FE5A7 #5C4FE5 #E54F8D
square
#D8E54F #4FE5A7 #5C4FE5 #E54F8D
split-complementary
#D8E54F #4F8DE5 #A74FE5
monochromatic
#96A218 #C7D720 #D8E54F #E4ED84 #F0F5BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8E54F#FFFFFF#000000##000000
##D8E54F1.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)
#F5DA3A
Deuteranopia (green-blind)
#F4DD5A
Tritanopia (blue-blind)
#E6D8C7
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d8e54f;
/* rgb */ color: rgb(216, 229, 79);
/* oklch */ color: oklch(88.5% 0.169 114.1);
Tailwind
colors: {
  custom: {
    50: '#e7ed88',
    500: '#d8e54f',
    950: '#000000',
  },
}
SCSS
$custom: #d8e54f;
$custom-light: #e7ed88;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e54f",
  "rgb": {
    "r": 216,
    "g": 229,
    "b": 79
  },
  "hsl": {
    "h": 65.2,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.88505,
    "c": 0.16947,
    "h": 114.1
  },
  "luminance": 0.71202
}

Semantic roles & 50–950 ramp

primary
#D8E54F
secondary
#3E34A4
accent
#0FD620
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8E54F

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

Preview Lab → · Contrast checker → · Palette generator →

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