#D8D376#D8D376

#D8D376 is a very light, moderate yellow. Relative luminance 0.625; OKLCH L 85.1% C 0.116 H 105.9°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#D8D376
RGBrgb(216, 211, 118)
HSLhsl(57, 56%, 65%)
HSVhsv(57, 45%, 85%)
CMYKcmyk(0%, 2.3%, 45.4%, 15.3%)
CIE-LABlab(83.18, -11.12, 46.43)
CIE-LCHlch(83.18, 47.74, 103.47°)
OKLaboklab(85.11% -0.0317 0.1113)
OKLCHoklch(85.11% 0.116 105.9)
XYZxyz(54.8844, 62.4969, 26.3080)
Luminance0.6250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D376 #767BD8
analogous
#D8A276 #D8D376 #ACD876
triadic
#D8D376 #76D8D3 #D376D8
tetradic
#D8D376 #76D8A2 #767BD8 #D876AC
square
#D8D376 #76D8A2 #767BD8 #D876AC
split-complementary
#D8D376 #76ACD8 #A276D8
monochromatic
#A59F2F #CAC446 #D8D376 #E6E2A6 #F3F2D5

Accessibility & contrast

On white

1.56
#D8D376 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#D8D376 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D376
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D376#FFFFFF#000000##000000
##D8D3761.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD6E
Deuteranopia (green-blind)
#E3D17A
Tritanopia (blue-blind)
#E5C8BD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d376;
/* rgb */ color: rgb(216, 211, 118);
/* oklch */ color: oklch(85.1% 0.116 105.9);
Tailwind
colors: {
  custom: {
    50: '#e6e09f',
    500: '#d8d376',
    950: '#000000',
  },
}
SCSS
$custom: #d8d376;
$custom-light: #e6e09f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d376",
  "rgb": {
    "r": 216,
    "g": 211,
    "b": 118
  },
  "hsl": {
    "h": 56.939,
    "s": 55.682,
    "l": 65.49
  },
  "oklch": {
    "l": 0.8511,
    "c": 0.11568,
    "h": 105.9
  },
  "luminance": 0.62495
}

Semantic roles & 50–950 ramp

primary
#D8D376
secondary
#4A4FA8
accent
#2BC322
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D8D376

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

Preview Lab → · Contrast checker → · Palette generator →

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