#D8D167#D8D167

#D8D167 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.5% C 0.128 H 105.4°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#D8D167
RGBrgb(216, 209, 103)
HSLhsl(56, 59%, 63%)
HSVhsv(56, 52%, 85%)
CMYKcmyk(0%, 3.2%, 52.3%, 15.3%)
CIE-LABlab(82.48, -11.45, 52.75)
CIE-LCHlch(82.48, 53.98, 102.25°)
OKLaboklab(84.5% -0.0341 0.1239)
OKLCHoklch(84.5% 0.128 105.4)
XYZxyz(53.5690, 61.1807, 21.8166)
Luminance0.6118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D167 #676ED8
analogous
#D89867 #D8D167 #A7D867
triadic
#D8D167 #67D8D1 #D167D8
tetradic
#D8D167 #67D898 #676ED8 #D867A7
square
#D8D167 #67D898 #676ED8 #D867A7
split-complementary
#D8D167 #67A7D8 #9867D8
monochromatic
#9C9528 #CCC236 #D8D167 #E4E098 #F1EEC8

Accessibility & contrast

On white

1.59
#D8D167 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#D8D167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D167
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D167#FFFFFF#000000##000000
##D8D1671.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA5D
Deuteranopia (green-blind)
#E3D06C
Tritanopia (blue-blind)
#E6C5B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d167;
/* rgb */ color: rgb(216, 209, 103);
/* oklch */ color: oklch(84.5% 0.128 105.4);
Tailwind
colors: {
  custom: {
    50: '#e6de95',
    500: '#d8d167',
    950: '#000000',
  },
}
SCSS
$custom: #d8d167;
$custom-light: #e6de95;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d167",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 103
  },
  "hsl": {
    "h": 56.283,
    "s": 59.162,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84496,
    "c": 0.12849,
    "h": 105.4
  },
  "luminance": 0.61179
}

Semantic roles & 50–950 ramp

primary
#D8D167
secondary
#4348A1
accent
#29C71F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D167

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

Preview Lab → · Contrast checker → · Palette generator →

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