#D8D549#D8D549

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

Color values

HEX#D8D549
RGBrgb(216, 213, 73)
HSLhsl(59, 65%, 57%)
HSVhsv(59, 66%, 85%)
CMYKcmyk(0%, 1.4%, 66.2%, 15.3%)
CIE-LABlab(83.27, -15.52, 66.52)
CIE-LCHlch(83.27, 68.31, 103.13°)
OKLaboklab(85.04% -0.0489 0.1493)
OKLCHoklch(85.04% 0.157 108.1)
XYZxyz(53.3176, 62.6701, 15.5900)
Luminance0.6267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D549 #494CD8
analogous
#D88E49 #D8D549 #94D849
triadic
#D8D549 #49D8D5 #D549D8
tetradic
#D8D549 #49D88E #494CD8 #D84994
square
#D8D549 #49D88E #494CD8 #D84994
split-complementary
#D8D549 #4994D8 #8E49D8
monochromatic
#89871D #BCB928 #D8D549 #E3E17B #EEECAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D549#FFFFFF#000000##000000
##D8D5491.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)
#E6CD35
Deuteranopia (green-blind)
#E8D252
Tritanopia (blue-blind)
#E7C8B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d549;
/* rgb */ color: rgb(216, 213, 73);
/* oklch */ color: oklch(85.0% 0.157 108.1);
Tailwind
colors: {
  custom: {
    50: '#e7e183',
    500: '#d8d549',
    950: '#000000',
  },
}
SCSS
$custom: #d8d549;
$custom-light: #e7e183;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d549",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 73
  },
  "hsl": {
    "h": 58.741,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.85042,
    "c": 0.15711,
    "h": 108.1
  },
  "luminance": 0.62668
}

Semantic roles & 50–950 ramp

primary
#D8D549
secondary
#36388F
accent
#44E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D549

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

Preview Lab → · Contrast checker → · Palette generator →

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