#D9D747#D9D747

#D9D747 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.5% C 0.160 H 108.6°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#D9D747
RGBrgb(217, 215, 71)
HSLhsl(59, 66%, 56%)
HSVhsv(59, 67%, 85%)
CMYKcmyk(0%, 0.9%, 67.3%, 14.9%)
CIE-LABlab(83.87, -16.20, 67.91)
CIE-LCHlch(83.87, 69.82, 103.42°)
OKLaboklab(85.53% -0.051 0.1519)
OKLCHoklch(85.53% 0.16 108.6)
XYZxyz(54.0549, 63.8092, 15.4290)
Luminance0.6381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D747 #4749D9
analogous
#D98E47 #D9D747 #92D947
triadic
#D9D747 #47D9D7 #D747D9
tetradic
#D9D747 #47D98E #4749D9 #D94792
square
#D9D747 #47D98E #4749D9 #D94792
split-complementary
#D9D747 #4792D9 #8E47D9
monochromatic
#89881C #BCBA27 #D9D747 #E3E27A #EEEDAC

Accessibility & contrast

On white

1.53
#D9D747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#D9D747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D747
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D747#FFFFFF#000000##000000
##D9D7471.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE31
Deuteranopia (green-blind)
#EAD351
Tritanopia (blue-blind)
#E8CABA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d747;
/* rgb */ color: rgb(217, 215, 71);
/* oklch */ color: oklch(85.5% 0.160 108.6);
Tailwind
colors: {
  custom: {
    50: '#e8e382',
    500: '#d9d747',
    950: '#000000',
  },
}
SCSS
$custom: #d9d747;
$custom-light: #e8e382;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d747",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 71
  },
  "hsl": {
    "h": 59.178,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.85534,
    "c": 0.16025,
    "h": 108.6
  },
  "luminance": 0.63808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9D747

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

Preview Lab → · Contrast checker → · Palette generator →

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