#D8C856#D8C856

#D8C856 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.4% C 0.135 H 101.4°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#D8C856
RGBrgb(216, 200, 86)
HSLhsl(53, 63%, 59%)
HSVhsv(53, 60%, 85%)
CMYKcmyk(0%, 7.4%, 60.2%, 15.3%)
CIE-LABlab(79.94, -8.17, 57.61)
CIE-LCHlch(79.94, 58.18, 98.07°)
OKLaboklab(82.43% -0.0266 0.1324)
OKLCHoklch(82.43% 0.135 101.4)
XYZxyz(50.6548, 56.5814, 17.0554)
Luminance0.5658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C856 #5666D8
analogous
#D88756 #D8C856 #A7D856
triadic
#D8C856 #56D8C8 #C856D8
tetradic
#D8C856 #56D887 #5666D8 #D856A7
square
#D8C856 #56D887 #5666D8 #D856A7
split-complementary
#D8C856 #56A7D8 #8756D8
monochromatic
#928422 #C4B12D #D8C856 #E3D888 #EFE8B9

Accessibility & contrast

On white

1.71
#D8C856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#D8C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C856
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C856#FFFFFF#000000##000000
##D8C8561.001.7112.3212.32
#FFFFFF1.711.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C249
Deuteranopia (green-blind)
#DEC95C
Tritanopia (blue-blind)
#E7BBAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d8c856;
/* rgb */ color: rgb(216, 200, 86);
/* oklch */ color: oklch(82.4% 0.135 101.4);
Tailwind
colors: {
  custom: {
    50: '#e7d88a',
    500: '#d8c856',
    950: '#000000',
  },
}
SCSS
$custom: #d8c856;
$custom-light: #e7d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c856",
  "rgb": {
    "r": 216,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 52.615,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.8243,
    "c": 0.135,
    "h": 101.4
  },
  "luminance": 0.56579
}

Semantic roles & 50–950 ramp

primary
#D8C856
secondary
#3B4697
accent
#56E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8C856

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

Preview Lab → · Contrast checker → · Palette generator →

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