#D8D165#D8D165

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

Color values

HEX#D8D165
RGBrgb(216, 209, 101)
HSLhsl(56, 60%, 62%)
HSVhsv(56, 53%, 85%)
CMYKcmyk(0%, 3.2%, 53.2%, 15.3%)
CIE-LABlab(82.45, -11.62, 53.66)
CIE-LCHlch(82.45, 54.90, 102.22°)
OKLaboklab(84.47% -0.0348 0.1256)
OKLCHoklch(84.47% 0.13 105.5)
XYZxyz(53.4699, 61.1411, 21.2942)
Luminance0.6114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D165 #656CD8
analogous
#D89865 #D8D165 #A5D865
triadic
#D8D165 #65D8D1 #D165D8
tetradic
#D8D165 #65D898 #656CD8 #D865A5
square
#D8D165 #65D898 #656CD8 #D865A5
split-complementary
#D8D165 #65A5D8 #9865D8
monochromatic
#9B9427 #CCC234 #D8D165 #E4E096 #F1EEC7

Accessibility & contrast

On white

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

On black

13.23
#D8D165 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D165
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D165#FFFFFF#000000##000000
##D8D1651.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d165;
/* rgb */ color: rgb(216, 209, 101);
/* oklch */ color: oklch(84.5% 0.130 105.5);
Tailwind
colors: {
  custom: {
    50: '#e6de94',
    500: '#d8d165',
    950: '#000000',
  },
}
SCSS
$custom: #d8d165;
$custom-light: #e6de94;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d165",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 101
  },
  "hsl": {
    "h": 56.348,
    "s": 59.585,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84472,
    "c": 0.13036,
    "h": 105.5
  },
  "luminance": 0.61139
}

Semantic roles & 50–950 ramp

primary
#D8D165
secondary
#4247A0
accent
#29C71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D165

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

Preview Lab → · Contrast checker → · Palette generator →

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