#D8C656#D8C656

#D8C656 is a very light, vivid yellow. Relative luminance 0.557; OKLCH L 82.0% C 0.133 H 100.2°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#D8C656
RGBrgb(216, 198, 86)
HSLhsl(52, 63%, 59%)
HSVhsv(52, 60%, 85%)
CMYKcmyk(0%, 8.3%, 60.2%, 15.3%)
CIE-LABlab(79.42, -7.15, 57.03)
CIE-LCHlch(79.42, 57.48, 97.14°)
OKLaboklab(82.02% -0.0237 0.1311)
OKLCHoklch(82.02% 0.133 100.2)
XYZxyz(50.1946, 55.6611, 16.9020)
Luminance0.5566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C656 #5668D8
analogous
#D88556 #D8C656 #A9D856
triadic
#D8C656 #56D8C6 #C656D8
tetradic
#D8C656 #56D885 #5668D8 #D856A9
square
#D8C656 #56D885 #5668D8 #D856A9
split-complementary
#D8C656 #56A9D8 #8556D8
monochromatic
#928222 #C4AF2D #D8C656 #E3D788 #EFE8B9

Accessibility & contrast

On white

1.73
#D8C656 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#D8C656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C656
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C656#FFFFFF#000000##000000
##D8C6561.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14A
Deuteranopia (green-blind)
#DCC85C
Tritanopia (blue-blind)
#E7B9AE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d8c656;
/* rgb */ color: rgb(216, 198, 86);
/* oklch */ color: oklch(82.0% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#e7d78a',
    500: '#d8c656',
    950: '#000000',
  },
}
SCSS
$custom: #d8c656;
$custom-light: #e7d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c656",
  "rgb": {
    "r": 216,
    "g": 198,
    "b": 86
  },
  "hsl": {
    "h": 51.692,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82015,
    "c": 0.13324,
    "h": 100.2
  },
  "luminance": 0.55659
}

Semantic roles & 50–950 ramp

primary
#D8C656
secondary
#3B4897
accent
#59E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8C656

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

Preview Lab → · Contrast checker → · Palette generator →

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