#D8E451#D8E451

#D8E451 is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.3% C 0.167 H 113.8°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#D8E451
RGBrgb(216, 228, 81)
HSLhsl(65, 73%, 61%)
HSVhsv(65, 64%, 89%)
CMYKcmyk(5.3%, 0%, 64.5%, 10.6%)
CIE-LABlab(87.33, -22.39, 67.59)
CIE-LCHlch(87.33, 71.21, 108.33°)
OKLaboklab(88.31% -0.0674 0.1528)
OKLCHoklch(88.31% 0.167 113.8)
XYZxyz(57.5490, 70.6809, 18.3942)
Luminance0.7068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E451 #5D51E4
analogous
#E4A651 #D8E451 #8EE451
triadic
#D8E451 #51D8E4 #E451D8
tetradic
#D8E451 #51E4A6 #5D51E4 #E4518E
square
#D8E451 #51E4A6 #5D51E4 #E4518E
split-complementary
#D8E451 #518EE4 #A651E4
monochromatic
#96A219 #C8D721 #D8E451 #E4EC86 #F0F4BB

Accessibility & contrast

On white

1.39
#D8E451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.14
#D8E451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E451
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E451#FFFFFF#000000##000000
##D8E4511.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D93D
Deuteranopia (green-blind)
#F4DC5B
Tritanopia (blue-blind)
#E6D7C6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d8e451;
/* rgb */ color: rgb(216, 228, 81);
/* oklch */ color: oklch(88.3% 0.167 113.8);
Tailwind
colors: {
  custom: {
    50: '#e7ec89',
    500: '#d8e451',
    950: '#000000',
  },
}
SCSS
$custom: #d8e451;
$custom-light: #e7ec89;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e451",
  "rgb": {
    "r": 216,
    "g": 228,
    "b": 81
  },
  "hsl": {
    "h": 64.898,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.88307,
    "c": 0.16698,
    "h": 113.8
  },
  "luminance": 0.7068
}

Semantic roles & 50–950 ramp

primary
#D8E451
secondary
#3E35A4
accent
#10D520
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8E451

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

Preview Lab → · Contrast checker → · Palette generator →

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