#D8D367#D8D367

#D8D367 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.9% C 0.131 H 106.5°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#D8D367
RGBrgb(216, 211, 103)
HSLhsl(57, 59%, 63%)
HSVhsv(57, 52%, 85%)
CMYKcmyk(0%, 2.3%, 52.3%, 15.3%)
CIE-LABlab(83.00, -12.46, 53.37)
CIE-LCHlch(83.00, 54.80, 103.14°)
OKLaboklab(84.92% -0.037 0.1252)
OKLCHoklch(84.92% 0.131 106.5)
XYZxyz(54.0628, 62.1683, 21.9812)
Luminance0.6217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D367 #676CD8
analogous
#D89A67 #D8D367 #A5D867
triadic
#D8D367 #67D8D3 #D367D8
tetradic
#D8D367 #67D89A #676CD8 #D867A5
square
#D8D367 #67D89A #676CD8 #D867A5
split-complementary
#D8D367 #67A5D8 #9A67D8
monochromatic
#9C9728 #CCC536 #D8D367 #E4E198 #F1EFC8

Accessibility & contrast

On white

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

On black

13.43
#D8D367 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D367
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D367#FFFFFF#000000##000000
##D8D3671.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC5D
Deuteranopia (green-blind)
#E5D16C
Tritanopia (blue-blind)
#E6C7BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d367;
/* rgb */ color: rgb(216, 211, 103);
/* oklch */ color: oklch(84.9% 0.131 106.5);
Tailwind
colors: {
  custom: {
    50: '#e6e095',
    500: '#d8d367',
    950: '#000000',
  },
}
SCSS
$custom: #d8d367;
$custom-light: #e6e095;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d367",
  "rgb": {
    "r": 216,
    "g": 211,
    "b": 103
  },
  "hsl": {
    "h": 57.345,
    "s": 59.162,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84915,
    "c": 0.13056,
    "h": 106.5
  },
  "luminance": 0.62167
}

Semantic roles & 50–950 ramp

primary
#D8D367
secondary
#4347A1
accent
#26C71F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D367

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

Preview Lab → · Contrast checker → · Palette generator →

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