#D8E158#D8E158

#D8E158 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 87.7% C 0.159 H 112.8°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#D8E158
RGBrgb(216, 225, 88)
HSLhsl(64, 70%, 61%)
HSVhsv(64, 61%, 88%)
CMYKcmyk(4%, 0%, 60.9%, 11.8%)
CIE-LABlab(86.58, -20.49, 63.98)
CIE-LCHlch(86.58, 67.19, 107.76°)
OKLaboklab(87.73% -0.0613 0.1462)
OKLCHoklch(87.73% 0.159 112.8)
XYZxyz(57.0070, 69.1551, 19.5759)
Luminance0.6915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E158 #6158E1
analogous
#E1A658 #D8E158 #94E158
triadic
#D8E158 #58D8E1 #E158D8
tetradic
#D8E158 #58E1A6 #6158E1 #E15894
square
#D8E158 #58E1A6 #6158E1 #E15894
split-complementary
#D8E158 #5894E1 #A658E1
monochromatic
#99A21D #CAD526 #D8E158 #E4EA8C #F0F4C0

Accessibility & contrast

On white

1.42
#D8E158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#D8E158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E158
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E158#FFFFFF#000000##000000
##D8E1581.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D747
Deuteranopia (green-blind)
#F1DA61
Tritanopia (blue-blind)
#E5D4C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d8e158;
/* rgb */ color: rgb(216, 225, 88);
/* oklch */ color: oklch(87.7% 0.159 112.8);
Tailwind
colors: {
  custom: {
    50: '#e7ea8d',
    500: '#d8e158',
    950: '#000000',
  },
}
SCSS
$custom: #d8e158;
$custom-light: #e7ea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e158",
  "rgb": {
    "r": 216,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 63.942,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87725,
    "c": 0.1585,
    "h": 112.8
  },
  "luminance": 0.69154
}

Semantic roles & 50–950 ramp

primary
#D8E158
secondary
#4039A4
accent
#14D220
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160D
muted
#85847F

Preview Lab

Preview with #D8E158

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

Preview Lab → · Contrast checker → · Palette generator →

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