#D8D546#D8D546

#D8D546 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.0% C 0.159 H 108.2°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#D8D546
RGBrgb(216, 213, 70)
HSLhsl(59, 65%, 56%)
HSVhsv(59, 68%, 85%)
CMYKcmyk(0%, 1.4%, 67.6%, 15.3%)
CIE-LABlab(83.25, -15.68, 67.64)
CIE-LCHlch(83.25, 69.44, 103.05°)
OKLaboklab(85.02% -0.0496 0.1512)
OKLCHoklch(85.02% 0.159 108.2)
XYZxyz(53.2205, 62.6313, 15.0788)
Luminance0.6263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D546 #4649D8
analogous
#D88C46 #D8D546 #92D846
triadic
#D8D546 #46D8D5 #D546D8
tetradic
#D8D546 #46D88C #4649D8 #D84692
square
#D8D546 #46D88C #4649D8 #D84692
split-complementary
#D8D546 #4692D8 #8C46D8
monochromatic
#87851C #BAB727 #D8D546 #E3E079 #EDECAB

Accessibility & contrast

On white

1.55
#D8D546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#D8D546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D546
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D546#FFFFFF#000000##000000
##D8D5461.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD30
Deuteranopia (green-blind)
#E9D250
Tritanopia (blue-blind)
#E7C8B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d546;
/* rgb */ color: rgb(216, 213, 70);
/* oklch */ color: oklch(85.0% 0.159 108.2);
Tailwind
colors: {
  custom: {
    50: '#e8e182',
    500: '#d8d546',
    950: '#000000',
  },
}
SCSS
$custom: #d8d546;
$custom-light: #e8e182;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d546",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 70
  },
  "hsl": {
    "h": 58.767,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85019,
    "c": 0.15912,
    "h": 108.2
  },
  "luminance": 0.6263
}

Semantic roles & 50–950 ramp

primary
#D8D546
secondary
#35378D
accent
#43E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D546

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

Preview Lab → · Contrast checker → · Palette generator →

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