#D8E04F#D8E04F

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

Color values

HEX#D8E04F
RGBrgb(216, 224, 79)
HSLhsl(63, 70%, 59%)
HSVhsv(63, 65%, 88%)
CMYKcmyk(3.6%, 0%, 64.7%, 12.2%)
CIE-LABlab(86.24, -20.58, 67.25)
CIE-LCHlch(86.24, 70.33, 107.01°)
OKLaboklab(87.43% -0.0625 0.1518)
OKLCHoklch(87.43% 0.164 112.4)
XYZxyz(56.3874, 68.4760, 17.6424)
Luminance0.6847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E04F #574FE0
analogous
#E09F4F #D8E04F #90E04F
triadic
#D8E04F #4FD8E0 #E04FD8
tetradic
#D8E04F #4FE09F #574FE0 #E04F90
square
#D8E04F #4FE09F #574FE0 #E04F90
split-complementary
#D8E04F #4F90E0 #9F4FE0
monochromatic
#939A1B #C4CE24 #D8E04F #E4E983 #EFF2B7

Accessibility & contrast

On white

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

On black

14.70
#D8E04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E04F
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E04F#FFFFFF#000000##000000
##D8E04F1.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8e04f;
/* rgb */ color: rgb(216, 224, 79);
/* oklch */ color: oklch(87.4% 0.164 112.4);
Tailwind
colors: {
  custom: {
    50: '#e7e988',
    500: '#d8e04f',
    950: '#000000',
  },
}
SCSS
$custom: #d8e04f;
$custom-light: #e7e988;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e04f",
  "rgb": {
    "r": 216,
    "g": 224,
    "b": 79
  },
  "hsl": {
    "h": 63.31,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.87433,
    "c": 0.16413,
    "h": 112.4
  },
  "luminance": 0.68475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8E04F

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

Preview Lab → · Contrast checker → · Palette generator →

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