#D8E955#D8E955

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

Color values

HEX#D8E955
RGBrgb(216, 233, 85)
HSLhsl(67, 77%, 62%)
HSVhsv(67, 64%, 91%)
CMYKcmyk(7.3%, 0%, 63.5%, 8.6%)
CIE-LABlab(88.70, -24.54, 67.45)
CIE-LCHlch(88.70, 71.78, 109.99°)
OKLaboklab(89.42% -0.073 0.1531)
OKLCHoklch(89.42% 0.17 115.5)
XYZxyz(59.0989, 73.5335, 19.6727)
Luminance0.7353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E955 #6655E9
analogous
#E9B055 #D8E955 #8EE955
triadic
#D8E955 #55D8E9 #E955D8
tetradic
#D8E955 #55E9B0 #6655E9 #E9558E
square
#D8E955 #55E9B0 #6655E9 #E9558E
split-complementary
#D8E955 #558EE9 #B055E9
monochromatic
#9CAD16 #CCE21F #D8E955 #E4F08B #F1F7C1

Accessibility & contrast

On white

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

On black

15.71
#D8E955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E955
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E955#FFFFFF#000000##000000
##D8E9551.001.3415.7115.71
#FFFFFF1.341.0021.0021.00
#00000015.7121.001.001.00
##00000015.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE42
Deuteranopia (green-blind)
#F7E05F
Tritanopia (blue-blind)
#E5DCCB
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d8e955;
/* rgb */ color: rgb(216, 233, 85);
/* oklch */ color: oklch(89.4% 0.170 115.5);
Tailwind
colors: {
  custom: {
    50: '#e7ef8c',
    500: '#d8e955',
    950: '#000000',
  },
}
SCSS
$custom: #d8e955;
$custom-light: #e7ef8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e955",
  "rgb": {
    "r": 216,
    "g": 233,
    "b": 85
  },
  "hsl": {
    "h": 66.892,
    "s": 77.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.89415,
    "c": 0.16959,
    "h": 115.5
  },
  "luminance": 0.73533
}

Semantic roles & 50–950 ramp

primary
#D8E955
secondary
#4234AE
accent
#0CD924
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D8E955

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

Preview Lab → · Contrast checker → · Palette generator →

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