#D8C554#D8C554

#D8C554 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.8% C 0.134 H 99.8°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#D8C554
RGBrgb(216, 197, 84)
HSLhsl(51, 63%, 59%)
HSVhsv(51, 61%, 85%)
CMYKcmyk(0%, 8.8%, 61.1%, 15.3%)
CIE-LABlab(79.14, -6.77, 57.61)
CIE-LCHlch(79.14, 58.00, 96.70°)
OKLaboklab(81.79% -0.0228 0.1321)
OKLCHoklch(81.79% 0.134 99.8)
XYZxyz(49.8874, 55.1736, 16.4076)
Luminance0.5517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C554 #5467D8
analogous
#D88354 #D8C554 #A9D854
triadic
#D8C554 #54D8C5 #C554D8
tetradic
#D8C554 #54D883 #5467D8 #D854A9
square
#D8C554 #54D883 #5467D8 #D854A9
split-complementary
#D8C554 #54A9D8 #8354D8
monochromatic
#918121 #C2AD2C #D8C554 #E3D686 #EFE7B8

Accessibility & contrast

On white

1.74
#D8C554 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#D8C554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C554
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C554#FFFFFF#000000##000000
##D8C5541.001.7412.0312.03
#FFFFFF1.741.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C047
Deuteranopia (green-blind)
#DCC75A
Tritanopia (blue-blind)
#E8B8AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d8c554;
/* rgb */ color: rgb(216, 197, 84);
/* oklch */ color: oklch(81.8% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#e7d688',
    500: '#d8c554',
    950: '#000000',
  },
}
SCSS
$custom: #d8c554;
$custom-light: #e7d688;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c554",
  "rgb": {
    "r": 216,
    "g": 197,
    "b": 84
  },
  "hsl": {
    "h": 51.364,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81788,
    "c": 0.13404,
    "h": 99.8
  },
  "luminance": 0.55172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8C554

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

Preview Lab → · Contrast checker → · Palette generator →

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