#D8E04E#D8E04E

#D8E04E is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.4% C 0.165 H 112.4°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#D8E04E
RGBrgb(216, 224, 78)
HSLhsl(63, 70%, 59%)
HSVhsv(63, 65%, 88%)
CMYKcmyk(3.6%, 0%, 65.2%, 12.2%)
CIE-LABlab(86.24, -20.63, 67.63)
CIE-LCHlch(86.24, 70.71, 106.97°)
OKLaboklab(87.43% -0.0627 0.1524)
OKLCHoklch(87.43% 0.165 112.4)
XYZxyz(56.3513, 68.4615, 17.4522)
Luminance0.6846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E04E #564EE0
analogous
#E09F4E #D8E04E #8FE04E
triadic
#D8E04E #4ED8E0 #E04ED8
tetradic
#D8E04E #4EE09F #564EE0 #E04E8F
square
#D8E04E #4EE09F #564EE0 #E04E8F
split-complementary
#D8E04E #4E8FE0 #9F4EE0
monochromatic
#92991B #C4CD24 #D8E04E #E3E982 #EFF2B6

Accessibility & contrast

On white

1.43
#D8E04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#D8E04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E04E
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E04E#FFFFFF#000000##000000
##D8E04E1.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63A
Deuteranopia (green-blind)
#F1D958
Tritanopia (blue-blind)
#E6D3C2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d8e04e;
/* rgb */ color: rgb(216, 224, 78);
/* oklch */ color: oklch(87.4% 0.165 112.4);
Tailwind
colors: {
  custom: {
    50: '#e7e987',
    500: '#d8e04e',
    950: '#000000',
  },
}
SCSS
$custom: #d8e04e;
$custom-light: #e7e987;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e04e",
  "rgb": {
    "r": 216,
    "g": 224,
    "b": 78
  },
  "hsl": {
    "h": 63.288,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.87425,
    "c": 0.16483,
    "h": 112.4
  },
  "luminance": 0.6846
}

Semantic roles & 50–950 ramp

primary
#D8E04E
secondary
#3B359D
accent
#3BED45
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8E04E

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

Preview Lab → · Contrast checker → · Palette generator →

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