#D8D047#D8D047

#D8D047 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.0% C 0.154 H 106.0°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#D8D047
RGBrgb(216, 208, 71)
HSLhsl(57, 65%, 56%)
HSVhsv(57, 67%, 85%)
CMYKcmyk(0%, 3.7%, 67.1%, 15.3%)
CIE-LABlab(81.93, -13.13, 65.93)
CIE-LCHlch(81.93, 67.23, 101.26°)
OKLaboklab(83.97% -0.0423 0.1478)
OKLCHoklch(83.97% 0.154 106)
XYZxyz(52.0141, 60.1674, 14.8336)
Luminance0.6017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D047 #474FD8
analogous
#D88847 #D8D047 #98D847
triadic
#D8D047 #47D8D0 #D047D8
tetradic
#D8D047 #47D888 #474FD8 #D84798
square
#D8D047 #47D888 #474FD8 #D84798
split-complementary
#D8D047 #4798D8 #8847D8
monochromatic
#88821D #BAB227 #D8D047 #E3DD79 #EDEAAC

Accessibility & contrast

On white

1.61
#D8D047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#D8D047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D047
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D047#FFFFFF#000000##000000
##D8D0471.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C933
Deuteranopia (green-blind)
#E5CE50
Tritanopia (blue-blind)
#E7C2B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8d047;
/* rgb */ color: rgb(216, 208, 71);
/* oklch */ color: oklch(84.0% 0.154 106.0);
Tailwind
colors: {
  custom: {
    50: '#e7de82',
    500: '#d8d047',
    950: '#000000',
  },
}
SCSS
$custom: #d8d047;
$custom-light: #e7de82;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d047",
  "rgb": {
    "r": 216,
    "g": 208,
    "b": 71
  },
  "hsl": {
    "h": 56.69,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8397,
    "c": 0.1537,
    "h": 106
  },
  "luminance": 0.60166
}

Semantic roles & 50–950 ramp

primary
#D8D047
secondary
#353A8E
accent
#49E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D047

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

Preview Lab → · Contrast checker → · Palette generator →

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