#D8E154#D8E154

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

Color values

HEX#D8E154
RGBrgb(216, 225, 84)
HSLhsl(64, 70%, 61%)
HSVhsv(64, 63%, 88%)
CMYKcmyk(4%, 0%, 62.7%, 11.8%)
CIE-LABlab(86.55, -20.75, 65.58)
CIE-LCHlch(86.55, 68.79, 107.56°)
OKLaboklab(87.69% -0.0625 0.149)
OKLCHoklch(87.69% 0.162 112.8)
XYZxyz(56.8459, 69.0906, 18.7271)
Luminance0.6909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E154 #5D54E1
analogous
#E1A354 #D8E154 #91E154
triadic
#D8E154 #54D8E1 #E154D8
tetradic
#D8E154 #54E1A3 #5D54E1 #E15491
square
#D8E154 #54E1A3 #5D54E1 #E15491
split-complementary
#D8E154 #5491E1 #A354E1
monochromatic
#969F1C #C8D325 #D8E154 #E4EA88 #F0F3BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8E154#FFFFFF#000000##000000
##D8E1541.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)
#F1D742
Deuteranopia (green-blind)
#F1DA5D
Tritanopia (blue-blind)
#E6D4C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d8e154;
/* rgb */ color: rgb(216, 225, 84);
/* oklch */ color: oklch(87.7% 0.162 112.8);
Tailwind
colors: {
  custom: {
    50: '#e7ea8a',
    500: '#d8e154',
    950: '#000000',
  },
}
SCSS
$custom: #d8e154;
$custom-light: #e7ea8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e154",
  "rgb": {
    "r": 216,
    "g": 225,
    "b": 84
  },
  "hsl": {
    "h": 63.83,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.87689,
    "c": 0.16155,
    "h": 112.8
  },
  "luminance": 0.69089
}

Semantic roles & 50–950 ramp

primary
#D8E154
secondary
#3E37A2
accent
#13D220
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8E154

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

Preview Lab → · Contrast checker → · Palette generator →

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