#D9D847#D9D847

#D9D847 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.7% C 0.161 H 109.0°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#D9D847
RGBrgb(217, 216, 71)
HSLhsl(60, 66%, 56%)
HSVhsv(60, 67%, 85%)
CMYKcmyk(0%, 0.5%, 67.3%, 14.9%)
CIE-LABlab(84.13, -16.70, 68.18)
CIE-LCHlch(84.13, 70.20, 103.76°)
OKLaboklab(85.75% -0.0524 0.1525)
OKLCHoklch(85.75% 0.161 109)
XYZxyz(54.3103, 64.3200, 15.5141)
Luminance0.6432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D847 #4748D9
analogous
#D98F47 #D9D847 #91D947
triadic
#D9D847 #47D9D8 #D847D9
tetradic
#D9D847 #47D98F #4748D9 #D94791
square
#D9D847 #47D98F #4748D9 #D94791
split-complementary
#D9D847 #4791D9 #8F47D9
monochromatic
#89891C #BCBB27 #D9D847 #E3E37A #EEEEAC

Accessibility & contrast

On white

1.51
#D9D847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#D9D847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D847
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D847#FFFFFF#000000##000000
##D9D8471.001.5113.8613.86
#FFFFFF1.511.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF31
Deuteranopia (green-blind)
#EBD451
Tritanopia (blue-blind)
#E8CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d847;
/* rgb */ color: rgb(217, 216, 71);
/* oklch */ color: oklch(85.7% 0.161 109.0);
Tailwind
colors: {
  custom: {
    50: '#e8e382',
    500: '#d9d847',
    950: '#000000',
  },
}
SCSS
$custom: #d9d847;
$custom-light: #e8e382;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d847",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 71
  },
  "hsl": {
    "h": 59.589,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.85746,
    "c": 0.16122,
    "h": 109
  },
  "luminance": 0.64318
}

Semantic roles & 50–950 ramp

primary
#D9D847
secondary
#35368F
accent
#40E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D847

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

Preview Lab → · Contrast checker → · Palette generator →

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