#D8E960#D8E960

#D8E960 is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 89.5% C 0.161 H 115.7°. Best body text is #000000 at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#D8E960
RGBrgb(216, 233, 96)
HSLhsl(67, 76%, 65%)
HSVhsv(67, 59%, 91%)
CMYKcmyk(7.3%, 0%, 58.8%, 8.6%)
CIE-LABlab(88.79, -23.79, 63.04)
CIE-LCHlch(88.79, 67.38, 110.68°)
OKLaboklab(89.52% -0.0698 0.1452)
OKLCHoklch(89.52% 0.161 115.7)
XYZxyz(59.5703, 73.7221, 22.1557)
Luminance0.7372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E960 #7160E9
analogous
#E9B560 #D8E960 #94E960
triadic
#D8E960 #60D8E9 #E960D8
tetradic
#D8E960 #60E9B5 #7160E9 #E96094
square
#D8E960 #60E9B5 #7160E9 #E96094
split-complementary
#D8E960 #6094E9 #B560E9
monochromatic
#A2B519 #CBE22A #D8E960 #E5F096 #F2F8CC

Accessibility & contrast

On white

1.33
#D8E960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.74
#D8E960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E960
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E960#FFFFFF#000000##000000
##D8E9601.001.3315.7415.74
#FFFFFF1.331.0021.0021.00
#00000015.7421.001.001.00
##00000015.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE50
Deuteranopia (green-blind)
#F7E069
Tritanopia (blue-blind)
#E4DDCC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d8e960;
/* rgb */ color: rgb(216, 233, 96);
/* oklch */ color: oklch(89.5% 0.161 115.7);
Tailwind
colors: {
  custom: {
    50: '#e7f092',
    500: '#d8e960',
    950: '#000000',
  },
}
SCSS
$custom: #d8e960;
$custom-light: #e7f092;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e960",
  "rgb": {
    "r": 216,
    "g": 233,
    "b": 96
  },
  "hsl": {
    "h": 67.445,
    "s": 75.691,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89516,
    "c": 0.16108,
    "h": 115.7
  },
  "luminance": 0.73721
}

Semantic roles & 50–950 ramp

primary
#D8E960
secondary
#4738B5
accent
#0ED827
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8E960

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

Preview Lab → · Contrast checker → · Palette generator →

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