#D8E951#D8E951

#D8E951 is a very light, vivid yellow. Relative luminance 0.735; OKLCH L 89.4% C 0.172 H 115.4°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#D8E951
RGBrgb(216, 233, 81)
HSLhsl(67, 78%, 62%)
HSVhsv(67, 65%, 91%)
CMYKcmyk(7.3%, 0%, 65.2%, 8.6%)
CIE-LABlab(88.67, -24.79, 68.98)
CIE-LCHlch(88.67, 73.30, 109.76°)
OKLaboklab(89.38% -0.0741 0.1557)
OKLCHoklch(89.38% 0.172 115.4)
XYZxyz(58.9444, 73.4717, 18.8593)
Luminance0.7347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E951 #6251E9
analogous
#E9AE51 #D8E951 #8CE951
triadic
#D8E951 #51D8E9 #E951D8
tetradic
#D8E951 #51E9AE #6251E9 #E9518C
square
#D8E951 #51E9AE #6251E9 #E9518C
split-complementary
#D8E951 #518CE9 #AE51E9
monochromatic
#99AA16 #CAE01C #D8E951 #E4F087 #F0F7BE

Accessibility & contrast

On white

1.34
#D8E951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#D8E951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E951
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E951#FFFFFF#000000##000000
##D8E9511.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE3C
Deuteranopia (green-blind)
#F8E05C
Tritanopia (blue-blind)
#E5DCCA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d8e951;
/* rgb */ color: rgb(216, 233, 81);
/* oklch */ color: oklch(89.4% 0.172 115.4);
Tailwind
colors: {
  custom: {
    50: '#e7ef89',
    500: '#d8e951',
    950: '#000000',
  },
}
SCSS
$custom: #d8e951;
$custom-light: #e7ef89;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e951",
  "rgb": {
    "r": 216,
    "g": 233,
    "b": 81
  },
  "hsl": {
    "h": 66.711,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.89382,
    "c": 0.17244,
    "h": 115.4
  },
  "luminance": 0.73471
}

Semantic roles & 50–950 ramp

primary
#D8E951
secondary
#4033AB
accent
#0CDA23
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D8E951

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

Preview Lab → · Contrast checker → · Palette generator →

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