#D8EA42#D8EA42

#D8EA42 is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 89.5% C 0.183 H 115.6°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#D8EA42
RGBrgb(216, 234, 66)
HSLhsl(66, 80%, 59%)
HSVhsv(66, 72%, 92%)
CMYKcmyk(7.7%, 0%, 71.8%, 8.2%)
CIE-LABlab(88.85, -26.06, 74.55)
CIE-LCHlch(88.85, 78.97, 109.27°)
OKLaboklab(89.49% -0.079 0.1651)
OKLCHoklch(89.49% 0.183 115.6)
XYZxyz(58.7267, 73.8389, 16.3119)
Luminance0.7384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EA42 #5442EA
analogous
#EAA842 #D8EA42 #84EA42
triadic
#D8EA42 #42D8EA #EA42D8
tetradic
#D8EA42 #42EAA8 #5442EA #EA4284
square
#D8EA42 #42EAA8 #5442EA #EA4284
split-complementary
#D8EA42 #4284EA #A842EA
monochromatic
#91A012 #C2D718 #D8EA42 #E3F079 #EFF6B0

Accessibility & contrast

On white

1.33
#D8EA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.77
#D8EA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EA42
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EA42#FFFFFF#000000##000000
##D8EA421.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE21
Deuteranopia (green-blind)
#F9E050
Tritanopia (blue-blind)
#E6DDCA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d8ea42;
/* rgb */ color: rgb(216, 234, 66);
/* oklch */ color: oklch(89.5% 0.183 115.6);
Tailwind
colors: {
  custom: {
    50: '#e8f082',
    500: '#d8ea42',
    950: '#000000',
  },
}
SCSS
$custom: #d8ea42;
$custom-light: #e8f082;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ea42",
  "rgb": {
    "r": 216,
    "g": 234,
    "b": 66
  },
  "hsl": {
    "h": 66.429,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.89492,
    "c": 0.18301,
    "h": 115.6
  },
  "luminance": 0.73838
}

Semantic roles & 50–950 ramp

primary
#D8EA42
secondary
#3A2EA2
accent
#31F646
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#17160B
muted
#85857E

Preview Lab

Preview with #D8EA42

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

Preview Lab → · Contrast checker → · Palette generator →

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