#D9D73D#D9D73D

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

Color values

HEX#D9D73D
RGBrgb(217, 215, 61)
HSLhsl(59, 67%, 55%)
HSVhsv(59, 72%, 85%)
CMYKcmyk(0%, 0.9%, 71.9%, 14.9%)
CIE-LABlab(83.80, -16.69, 71.43)
CIE-LCHlch(83.80, 73.36, 103.15°)
OKLaboklab(85.47% -0.0534 0.1576)
OKLCHoklch(85.47% 0.166 108.7)
XYZxyz(53.7600, 63.6912, 13.8757)
Luminance0.6369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D73D #3D3FD9
analogous
#D9893D #D9D73D #8DD93D
triadic
#D9D73D #3DD9D7 #D73DD9
tetradic
#D9D73D #3DD989 #3D3FD9 #D93D8D
square
#D9D73D #3DD989 #3D3FD9 #D93D8D
split-complementary
#D9D73D #3D8DD9 #893DD9
monochromatic
#828119 #B5B324 #D9D73D #E3E270 #EDECA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D73D#FFFFFF#000000##000000
##D9D73D1.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)
#E9CE1F
Deuteranopia (green-blind)
#EBD349
Tritanopia (blue-blind)
#E8C9B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d73d;
/* rgb */ color: rgb(217, 215, 61);
/* oklch */ color: oklch(85.5% 0.166 108.7);
Tailwind
colors: {
  custom: {
    50: '#e9e37d',
    500: '#d9d73d',
    950: '#000000',
  },
}
SCSS
$custom: #d9d73d;
$custom-light: #e9e37d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d73d",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 61
  },
  "hsl": {
    "h": 59.231,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.85466,
    "c": 0.16642,
    "h": 108.7
  },
  "luminance": 0.6369
}

Semantic roles & 50–950 ramp

primary
#D9D73D
secondary
#313289
accent
#40EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9D73D

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

Preview Lab → · Contrast checker → · Palette generator →

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