#D8ED4A#D8ED4A

#D8ED4A is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.2% C 0.181 H 116.5°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#D8ED4A
RGBrgb(216, 237, 74)
HSLhsl(68, 82%, 61%)
HSVhsv(68, 69%, 93%)
CMYKcmyk(8.9%, 0%, 68.8%, 7.1%)
CIE-LABlab(89.70, -27.08, 72.62)
CIE-LCHlch(89.70, 77.51, 110.45°)
OKLaboklab(90.19% -0.0811 0.1623)
OKLCHoklch(90.19% 0.181 116.5)
XYZxyz(59.8405, 75.6625, 17.9292)
Luminance0.7566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8ED4A #5F4AED
analogous
#EDB04A #D8ED4A #86ED4A
triadic
#D8ED4A #4AD8ED #ED4AD8
tetradic
#D8ED4A #4AEDB0 #5F4AED #ED4A86
square
#D8ED4A #4AEDB0 #5F4AED #ED4A86
split-complementary
#D8ED4A #4A86ED #B04AED
monochromatic
#98AC11 #C9E317 #D8ED4A #E4F382 #F0F8B9

Accessibility & contrast

On white

1.30
#D8ED4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.13
#D8ED4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8ED4A
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8ED4A#FFFFFF#000000##000000
##D8ED4A1.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE12F
Deuteranopia (green-blind)
#FBE357
Tritanopia (blue-blind)
#E5E0CD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d8ed4a;
/* rgb */ color: rgb(216, 237, 74);
/* oklch */ color: oklch(90.2% 0.181 116.5);
Tailwind
colors: {
  custom: {
    50: '#e8f286',
    500: '#d8ed4a',
    950: '#000000',
  },
}
SCSS
$custom: #d8ed4a;
$custom-light: #e8f286;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ed4a",
  "rgb": {
    "r": 216,
    "g": 237,
    "b": 74
  },
  "hsl": {
    "h": 67.73,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.90194,
    "c": 0.18145,
    "h": 116.5
  },
  "luminance": 0.75662
}

Semantic roles & 50–950 ramp

primary
#D8ED4A
secondary
#3F2FAC
accent
#07DE23
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D8ED4A

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

Preview Lab → · Contrast checker → · Palette generator →

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