#D9D73A#D9D73A

#D9D73A is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.4% C 0.168 H 108.7°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#D9D73A
RGBrgb(217, 215, 58)
HSLhsl(59, 68%, 54%)
HSVhsv(59, 73%, 85%)
CMYKcmyk(0%, 0.9%, 73.3%, 14.9%)
CIE-LABlab(83.79, -16.82, 72.41)
CIE-LCHlch(83.79, 74.34, 103.08°)
OKLaboklab(85.45% -0.054 0.1592)
OKLCHoklch(85.45% 0.168 108.7)
XYZxyz(53.6815, 63.6598, 13.4620)
Luminance0.6366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D73A #3A3CD9
analogous
#D9883A #D9D73A #8CD93A
triadic
#D9D73A #3AD9D7 #D73AD9
tetradic
#D9D73A #3AD988 #3A3CD9 #D93A8C
square
#D9D73A #3AD988 #3A3CD9 #D93A8C
split-complementary
#D9D73A #3A8CD9 #883AD9
monochromatic
#807F19 #B3B123 #D9D73A #E3E16D #EDECA1

Accessibility & contrast

On white

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

On black

13.73
#D9D73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D73A
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D73A#FFFFFF#000000##000000
##D9D73A1.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CE18
Deuteranopia (green-blind)
#EBD346
Tritanopia (blue-blind)
#E9C9B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d73a;
/* rgb */ color: rgb(217, 215, 58);
/* oklch */ color: oklch(85.4% 0.168 108.7);
Tailwind
colors: {
  custom: {
    50: '#e9e37c',
    500: '#d9d73a',
    950: '#000000',
  },
}
SCSS
$custom: #d9d73a;
$custom-light: #e9e37c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d73a",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 58
  },
  "hsl": {
    "h": 59.245,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.85447,
    "c": 0.1681,
    "h": 108.7
  },
  "luminance": 0.63658
}

Semantic roles & 50–950 ramp

primary
#D9D73A
secondary
#303187
accent
#3FEB3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9D73A

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

Preview Lab → · Contrast checker → · Palette generator →

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