#D8E157#D8E157

#D8E157 is a very light, vivid yellow. Relative luminance 0.691; 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#D8E157
RGBrgb(216, 225, 87)
HSLhsl(64, 70%, 61%)
HSVhsv(64, 61%, 88%)
CMYKcmyk(4%, 0%, 61.3%, 11.8%)
CIE-LABlab(86.57, -20.56, 64.39)
CIE-LCHlch(86.57, 67.59, 107.71°)
OKLaboklab(87.72% -0.0616 0.1469)
OKLCHoklch(87.72% 0.159 112.8)
XYZxyz(56.9659, 69.1386, 19.3592)
Luminance0.6914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E157 #6057E1
analogous
#E1A557 #D8E157 #93E157
triadic
#D8E157 #57D8E1 #E157D8
tetradic
#D8E157 #57E1A5 #6057E1 #E15793
square
#D8E157 #57E1A5 #6057E1 #E15793
split-complementary
#D8E157 #5793E1 #A557E1
monochromatic
#98A11D #C9D526 #D8E157 #E4EA8B #F0F4BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8E157#FFFFFF#000000##000000
##D8E1571.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)
#F1D746
Deuteranopia (green-blind)
#F1DA60
Tritanopia (blue-blind)
#E5D4C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d8e157;
/* rgb */ color: rgb(216, 225, 87);
/* oklch */ color: oklch(87.7% 0.159 112.8);
Tailwind
colors: {
  custom: {
    50: '#e7ea8c',
    500: '#d8e157',
    950: '#000000',
  },
}
SCSS
$custom: #d8e157;
$custom-light: #e7ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e157",
  "rgb": {
    "r": 216,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 63.913,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87715,
    "c": 0.15928,
    "h": 112.8
  },
  "luminance": 0.69137
}

Semantic roles & 50–950 ramp

primary
#D8E157
secondary
#3F38A4
accent
#14D220
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8E157

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

Preview Lab → · Contrast checker → · Palette generator →

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