#D8E04A#D8E04A

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

Color values

HEX#D8E04A
RGBrgb(216, 224, 74)
HSLhsl(63, 71%, 58%)
HSVhsv(63, 67%, 88%)
CMYKcmyk(3.6%, 0%, 67%, 12.2%)
CIE-LABlab(86.21, -20.86, 69.12)
CIE-LCHlch(86.21, 72.20, 106.79°)
OKLaboklab(87.39% -0.0638 0.155)
OKLCHoklch(87.39% 0.168 112.4)
XYZxyz(56.2123, 68.4059, 16.7198)
Luminance0.6841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E04A #524AE0
analogous
#E09D4A #D8E04A #8DE04A
triadic
#D8E04A #4AD8E0 #E04AD8
tetradic
#D8E04A #4AE09D #524AE0 #E04A8D
square
#D8E04A #4AE09D #524AE0 #E04A8D
split-complementary
#D8E04A #4A8DE0 #9D4AE0
monochromatic
#8F961A #C1CA23 #D8E04A #E3E97E #EFF2B3

Accessibility & contrast

On white

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

On black

14.68
#D8E04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E04A
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E04A#FFFFFF#000000##000000
##D8E04A1.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8e04a;
/* rgb */ color: rgb(216, 224, 74);
/* oklch */ color: oklch(87.4% 0.168 112.4);
Tailwind
colors: {
  custom: {
    50: '#e7e985',
    500: '#d8e04a',
    950: '#000000',
  },
}
SCSS
$custom: #d8e04a;
$custom-light: #e7e985;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e04a",
  "rgb": {
    "r": 216,
    "g": 224,
    "b": 74
  },
  "hsl": {
    "h": 63.2,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.87394,
    "c": 0.16756,
    "h": 112.4
  },
  "luminance": 0.68405
}

Semantic roles & 50–950 ramp

primary
#D8E04A
secondary
#39349A
accent
#3AEE44
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8E04A

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

Preview Lab → · Contrast checker → · Palette generator →

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