#D8D16F#D8D16F

#D8D16F is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.6% C 0.121 H 105.0°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#D8D16F
RGBrgb(216, 209, 111)
HSLhsl(56, 57%, 64%)
HSVhsv(56, 49%, 85%)
CMYKcmyk(0%, 3.2%, 48.6%, 15.3%)
CIE-LABlab(82.57, -10.76, 49.07)
CIE-LCHlch(82.57, 50.24, 102.37°)
OKLaboklab(84.6% -0.0313 0.1166)
OKLCHoklch(84.6% 0.121 105)
XYZxyz(53.9900, 61.3491, 24.0334)
Luminance0.6135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D16F #6F76D8
analogous
#D89D6F #D8D16F #ABD86F
triadic
#D8D16F #6FD8D1 #D16FD8
tetradic
#D8D16F #6FD89D #6F76D8 #D86FAB
square
#D8D16F #6FD89D #6F76D8 #D86FAB
split-complementary
#D8D16F #6FABD8 #9D6FD8
monochromatic
#A1992C #CBC23F #D8D16F #E5E09F #F2F0CF

Accessibility & contrast

On white

1.58
#D8D16F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#D8D16F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D16F
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D16F#FFFFFF#000000##000000
##D8D16F1.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB66
Deuteranopia (green-blind)
#E3D074
Tritanopia (blue-blind)
#E5C6BA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d16f;
/* rgb */ color: rgb(216, 209, 111);
/* oklch */ color: oklch(84.6% 0.121 105.0);
Tailwind
colors: {
  custom: {
    50: '#e6de9a',
    500: '#d8d16f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d16f;
$custom-light: #e6de9a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d16f",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 111
  },
  "hsl": {
    "h": 56,
    "s": 57.377,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84597,
    "c": 0.1207,
    "h": 105
  },
  "luminance": 0.61348
}

Semantic roles & 50–950 ramp

primary
#D8D16F
secondary
#464DA5
accent
#2CC521
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8D16F

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

Preview Lab → · Contrast checker → · Palette generator →

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