#D8D356#D8D356

#D8D356 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.7% C 0.145 H 107.0°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#D8D356
RGBrgb(216, 211, 86)
HSLhsl(58, 63%, 59%)
HSVhsv(58, 60%, 85%)
CMYKcmyk(0%, 2.3%, 60.2%, 15.3%)
CIE-LABlab(82.84, -13.73, 60.78)
CIE-LCHlch(82.84, 62.31, 102.73°)
OKLaboklab(84.73% -0.0424 0.1391)
OKLCHoklch(84.73% 0.145 107)
XYZxyz(53.2946, 61.8610, 17.9353)
Luminance0.6186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D356 #565BD8
analogous
#D89256 #D8D356 #9CD856
triadic
#D8D356 #56D8D3 #D356D8
tetradic
#D8D356 #56D892 #565BD8 #D8569C
square
#D8D356 #56D892 #565BD8 #D8569C
split-complementary
#D8D356 #569CD8 #9256D8
monochromatic
#928E22 #C4BE2D #D8D356 #E3E088 #EFEDB9

Accessibility & contrast

On white

1.57
#D8D356 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.37
#D8D356 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D356
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D356#FFFFFF#000000##000000
##D8D3561.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB47
Deuteranopia (green-blind)
#E6D15D
Tritanopia (blue-blind)
#E7C6B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d8d356;
/* rgb */ color: rgb(216, 211, 86);
/* oklch */ color: oklch(84.7% 0.145 107.0);
Tailwind
colors: {
  custom: {
    50: '#e7e08b',
    500: '#d8d356',
    950: '#000000',
  },
}
SCSS
$custom: #d8d356;
$custom-light: #e7e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d356",
  "rgb": {
    "r": 216,
    "g": 211,
    "b": 86
  },
  "hsl": {
    "h": 57.692,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84733,
    "c": 0.14542,
    "h": 107
  },
  "luminance": 0.61859
}

Semantic roles & 50–950 ramp

primary
#D8D356
secondary
#3B3F97
accent
#49E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D356

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

Preview Lab → · Contrast checker → · Palette generator →

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