#D8D164#D8D164

#D8D164 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.5% C 0.131 H 105.5°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#D8D164
RGBrgb(216, 209, 100)
HSLhsl(56, 60%, 62%)
HSVhsv(56, 54%, 85%)
CMYKcmyk(0%, 3.2%, 53.7%, 15.3%)
CIE-LABlab(82.44, -11.70, 54.11)
CIE-LCHlch(82.44, 55.36, 102.20°)
OKLaboklab(84.46% -0.0351 0.1265)
OKLCHoklch(84.46% 0.131 105.5)
XYZxyz(53.4212, 61.1216, 21.0377)
Luminance0.6112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D164 #646BD8
analogous
#D89764 #D8D164 #A5D864
triadic
#D8D164 #64D8D1 #D164D8
tetradic
#D8D164 #64D897 #646BD8 #D864A5
square
#D8D164 #64D897 #646BD8 #D864A5
split-complementary
#D8D164 #64A5D8 #9764D8
monochromatic
#9B9427 #CCC233 #D8D164 #E4E095 #F1EEC6

Accessibility & contrast

On white

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

On black

13.22
#D8D164 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D164
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D164#FFFFFF#000000##000000
##D8D1641.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d164;
/* rgb */ color: rgb(216, 209, 100);
/* oklch */ color: oklch(84.5% 0.131 105.5);
Tailwind
colors: {
  custom: {
    50: '#e6de93',
    500: '#d8d164',
    950: '#000000',
  },
}
SCSS
$custom: #d8d164;
$custom-light: #e6de93;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d164",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 100
  },
  "hsl": {
    "h": 56.379,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84461,
    "c": 0.13129,
    "h": 105.5
  },
  "luminance": 0.6112
}

Semantic roles & 50–950 ramp

primary
#D8D164
secondary
#41479F
accent
#28C71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D164

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

Preview Lab → · Contrast checker → · Palette generator →

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