#D9D73F#D9D73F

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

Color values

HEX#D9D73F
RGBrgb(217, 215, 63)
HSLhsl(59, 67%, 55%)
HSVhsv(59, 71%, 85%)
CMYKcmyk(0%, 0.9%, 71%, 14.9%)
CIE-LABlab(83.82, -16.60, 70.76)
CIE-LCHlch(83.82, 72.68, 103.20°)
OKLaboklab(85.48% -0.0529 0.1566)
OKLCHoklch(85.48% 0.165 108.7)
XYZxyz(53.8149, 63.7132, 14.1648)
Luminance0.6371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D73F #3F41D9
analogous
#D98A3F #D9D73F #8ED93F
triadic
#D9D73F #3FD9D7 #D73FD9
tetradic
#D9D73F #3FD98A #3F41D9 #D93F8E
square
#D9D73F #3FD98A #3F41D9 #D93F8E
split-complementary
#D9D73F #3F8ED9 #8A3FD9
monochromatic
#84821A #B7B524 #D9D73F #E3E272 #EDECA5

Accessibility & contrast

On white

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

On black

13.74
#D9D73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D73F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D73F#FFFFFF#000000##000000
##D9D73F1.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE23
Deuteranopia (green-blind)
#EBD34A
Tritanopia (blue-blind)
#E8C9BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d73f;
/* rgb */ color: rgb(217, 215, 63);
/* oklch */ color: oklch(85.5% 0.165 108.7);
Tailwind
colors: {
  custom: {
    50: '#e8e37e',
    500: '#d9d73f',
    950: '#000000',
  },
}
SCSS
$custom: #d9d73f;
$custom-light: #e8e37e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d73f",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 63
  },
  "hsl": {
    "h": 59.221,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.85478,
    "c": 0.16526,
    "h": 108.7
  },
  "luminance": 0.63711
}

Semantic roles & 50–950 ramp

primary
#D9D73F
secondary
#32338A
accent
#40EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D73F

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

Preview Lab → · Contrast checker → · Palette generator →

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