#D8D976#D8D976

#D8D976 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.4% C 0.122 H 109.2°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#D8D976
RGBrgb(216, 217, 118)
HSLhsl(61, 57%, 66%)
HSVhsv(61, 46%, 85%)
CMYKcmyk(0.5%, 0%, 45.6%, 14.9%)
CIE-LABlab(84.76, -14.13, 48.36)
CIE-LCHlch(84.76, 50.38, 106.29°)
OKLaboklab(86.37% -0.0403 0.1155)
OKLCHoklch(86.37% 0.122 109.2)
XYZxyz(56.4029, 65.5339, 26.8141)
Luminance0.6553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D976 #7776D9
analogous
#D9A876 #D8D976 #A6D976
triadic
#D8D976 #76D8D9 #D976D8
tetradic
#D8D976 #76D9A8 #7776D9 #D976A6
square
#D8D976 #76D9A8 #7776D9 #D976A6
split-complementary
#D8D976 #76A6D9 #A876D9
monochromatic
#A5A62E #CACC46 #D8D976 #E6E6A6 #F3F4D6

Accessibility & contrast

On white

1.49
#D8D976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.11
#D8D976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D976
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D976#FFFFFF#000000##000000
##D8D9761.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D26E
Deuteranopia (green-blind)
#E8D57B
Tritanopia (blue-blind)
#E4CEC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8d976;
/* rgb */ color: rgb(216, 217, 118);
/* oklch */ color: oklch(86.4% 0.122 109.2);
Tailwind
colors: {
  custom: {
    50: '#e6e49f',
    500: '#d8d976',
    950: '#000000',
  },
}
SCSS
$custom: #d8d976;
$custom-light: #e6e49f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d976",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 118
  },
  "hsl": {
    "h": 60.606,
    "s": 56.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86368,
    "c": 0.12236,
    "h": 109.2
  },
  "luminance": 0.65533
}

Semantic roles & 50–950 ramp

primary
#D8D976
secondary
#4A49AA
accent
#21C423
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D8D976

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

Preview Lab → · Contrast checker → · Palette generator →

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