#D8D156#D8D156

#D8D156 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.3% C 0.143 H 106.0°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#D8D156
RGBrgb(216, 209, 86)
HSLhsl(57, 63%, 59%)
HSVhsv(57, 60%, 85%)
CMYKcmyk(0%, 3.2%, 60.2%, 15.3%)
CIE-LABlab(82.31, -12.73, 60.20)
CIE-LCHlch(82.31, 61.53, 101.94°)
OKLaboklab(84.31% -0.0396 0.1379)
OKLCHoklch(84.31% 0.143 106)
XYZxyz(52.8008, 60.8735, 17.7707)
Luminance0.6087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D156 #565DD8
analogous
#D89056 #D8D156 #9ED856
triadic
#D8D156 #56D8D1 #D156D8
tetradic
#D8D156 #56D890 #565DD8 #D8569E
square
#D8D156 #56D890 #565DD8 #D8569E
split-complementary
#D8D156 #569ED8 #9056D8
monochromatic
#928C22 #C4BC2D #D8D156 #E3DF88 #EFECB9

Accessibility & contrast

On white

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

On black

13.17
#D8D156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D156
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D156#FFFFFF#000000##000000
##D8D1561.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA48
Deuteranopia (green-blind)
#E5CF5D
Tritanopia (blue-blind)
#E7C4B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d156;
/* rgb */ color: rgb(216, 209, 86);
/* oklch */ color: oklch(84.3% 0.143 106.0);
Tailwind
colors: {
  custom: {
    50: '#e7de8a',
    500: '#d8d156',
    950: '#000000',
  },
}
SCSS
$custom: #d8d156;
$custom-light: #e7de8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d156",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 86
  },
  "hsl": {
    "h": 56.769,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84312,
    "c": 0.14344,
    "h": 106
  },
  "luminance": 0.60872
}

Semantic roles & 50–950 ramp

primary
#D8D156
secondary
#3B4097
accent
#4BE642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D156

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

Preview Lab → · Contrast checker → · Palette generator →

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