#D8E462#D8E462

#D8E462 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.5% C 0.154 H 114.0°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#D8E462
RGBrgb(216, 228, 98)
HSLhsl(66, 71%, 64%)
HSVhsv(66, 57%, 89%)
CMYKcmyk(5.3%, 0%, 57%, 10.6%)
CIE-LABlab(87.47, -21.24, 60.71)
CIE-LCHlch(87.47, 64.32, 109.28°)
OKLaboklab(88.46% -0.0624 0.1405)
OKLCHoklch(88.46% 0.154 114)
XYZxyz(58.2682, 70.9686, 22.1817)
Luminance0.7097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E462 #6E62E4
analogous
#E4AF62 #D8E462 #97E462
triadic
#D8E462 #62D8E4 #E462D8
tetradic
#D8E462 #62E4AF #6E62E4 #E46297
square
#D8E462 #62E4AF #6E62E4 #E46297
split-complementary
#D8E462 #6297E4 #AF62E4
monochromatic
#A0AE1E #CBDB2E #D8E462 #E5ED96 #F2F6CA

Accessibility & contrast

On white

1.38
#D8E462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#D8E462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E462
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E462#FFFFFF#000000##000000
##D8E4621.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA54
Deuteranopia (green-blind)
#F3DD6A
Tritanopia (blue-blind)
#E5D8C8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d8e462;
/* rgb */ color: rgb(216, 228, 98);
/* oklch */ color: oklch(88.5% 0.154 114.0);
Tailwind
colors: {
  custom: {
    50: '#e7ec93',
    500: '#d8e462',
    950: '#000000',
  },
}
SCSS
$custom: #d8e462;
$custom-light: #e7ec93;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e462",
  "rgb": {
    "r": 216,
    "g": 228,
    "b": 98
  },
  "hsl": {
    "h": 65.538,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.88464,
    "c": 0.1537,
    "h": 114
  },
  "luminance": 0.70968
}

Semantic roles & 50–950 ramp

primary
#D8E462
secondary
#463BAF
accent
#13D325
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D8E462

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

Preview Lab → · Contrast checker → · Palette generator →

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