#D8E047#D8E047

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

Color values

HEX#D8E047
RGBrgb(216, 224, 71)
HSLhsl(63, 71%, 58%)
HSVhsv(63, 68%, 88%)
CMYKcmyk(3.6%, 0%, 68.3%, 12.2%)
CIE-LABlab(86.19, -21.02, 70.21)
CIE-LCHlch(86.19, 73.29, 106.67°)
OKLaboklab(87.37% -0.0645 0.1568)
OKLCHoklch(87.37% 0.17 112.4)
XYZxyz(56.1136, 68.3665, 16.2001)
Luminance0.6836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E047 #4F47E0
analogous
#E09B47 #D8E047 #8CE047
triadic
#D8E047 #47D8E0 #E047D8
tetradic
#D8E047 #47E09B #4F47E0 #E0478C
square
#D8E047 #47E09B #4F47E0 #E0478C
split-complementary
#D8E047 #478CE0 #9B47E0
monochromatic
#8D9419 #BFC822 #D8E047 #E3E97B #EEF2B0

Accessibility & contrast

On white

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

On black

14.67
#D8E047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E047
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E047#FFFFFF#000000##000000
##D8E0471.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8e047;
/* rgb */ color: rgb(216, 224, 71);
/* oklch */ color: oklch(87.4% 0.170 112.4);
Tailwind
colors: {
  custom: {
    50: '#e8e983',
    500: '#d8e047',
    950: '#000000',
  },
}
SCSS
$custom: #d8e047;
$custom-light: #e8e983;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e047",
  "rgb": {
    "r": 216,
    "g": 224,
    "b": 71
  },
  "hsl": {
    "h": 63.137,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.87372,
    "c": 0.16952,
    "h": 112.4
  },
  "luminance": 0.68365
}

Semantic roles & 50–950 ramp

primary
#D8E047
secondary
#383398
accent
#3AEE43
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D8E047

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

Preview Lab → · Contrast checker → · Palette generator →

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