#D8E156#D8E156

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

Color values

HEX#D8E156
RGBrgb(216, 225, 86)
HSLhsl(64, 70%, 61%)
HSVhsv(64, 62%, 88%)
CMYKcmyk(4%, 0%, 61.8%, 11.8%)
CIE-LABlab(86.56, -20.63, 64.79)
CIE-LCHlch(86.56, 67.99, 107.66°)
OKLaboklab(87.71% -0.0619 0.1476)
OKLCHoklch(87.71% 0.16 112.8)
XYZxyz(56.9253, 69.1224, 19.1455)
Luminance0.6912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E156 #5F56E1
analogous
#E1A456 #D8E156 #92E156
triadic
#D8E156 #56D8E1 #E156D8
tetradic
#D8E156 #56E1A4 #5F56E1 #E15692
square
#D8E156 #56E1A4 #5F56E1 #E15692
split-complementary
#D8E156 #5692E1 #A456E1
monochromatic
#98A01C #C9D426 #D8E156 #E4EA8A #F0F3BE

Accessibility & contrast

On white

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

On black

14.82
#D8E156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E156
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E156#FFFFFF#000000##000000
##D8E1561.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D745
Deuteranopia (green-blind)
#F1DA5F
Tritanopia (blue-blind)
#E6D4C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d8e156;
/* rgb */ color: rgb(216, 225, 86);
/* oklch */ color: oklch(87.7% 0.160 112.8);
Tailwind
colors: {
  custom: {
    50: '#e7ea8c',
    500: '#d8e156',
    950: '#000000',
  },
}
SCSS
$custom: #d8e156;
$custom-light: #e7ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e156",
  "rgb": {
    "r": 216,
    "g": 225,
    "b": 86
  },
  "hsl": {
    "h": 63.885,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87706,
    "c": 0.16004,
    "h": 112.8
  },
  "luminance": 0.69121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8E156

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

Preview Lab → · Contrast checker → · Palette generator →

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