#D9D73C#D9D73C

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

Color values

HEX#D9D73C
RGBrgb(217, 215, 60)
HSLhsl(59, 67%, 54%)
HSVhsv(59, 72%, 85%)
CMYKcmyk(0%, 0.9%, 72.4%, 14.9%)
CIE-LABlab(83.80, -16.74, 71.76)
CIE-LCHlch(83.80, 73.69, 103.13°)
OKLaboklab(85.46% -0.0536 0.1582)
OKLCHoklch(85.46% 0.167 108.7)
XYZxyz(53.7333, 63.6805, 13.7352)
Luminance0.6368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D73C #3C3ED9
analogous
#D9893C #D9D73C #8CD93C
triadic
#D9D73C #3CD9D7 #D73CD9
tetradic
#D9D73C #3CD989 #3C3ED9 #D93C8C
square
#D9D73C #3CD989 #3C3ED9 #D93C8C
split-complementary
#D9D73C #3C8CD9 #893CD9
monochromatic
#818019 #B5B323 #D9D73C #E3E26F #EDECA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D73C#FFFFFF#000000##000000
##D9D73C1.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)
#E9CE1D
Deuteranopia (green-blind)
#EBD348
Tritanopia (blue-blind)
#E9C9B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d73c;
/* rgb */ color: rgb(217, 215, 60);
/* oklch */ color: oklch(85.5% 0.167 108.7);
Tailwind
colors: {
  custom: {
    50: '#e9e37d',
    500: '#d9d73c',
    950: '#000000',
  },
}
SCSS
$custom: #d9d73c;
$custom-light: #e9e37d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d73c",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 60
  },
  "hsl": {
    "h": 59.236,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.85459,
    "c": 0.16699,
    "h": 108.7
  },
  "luminance": 0.63679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9D73C

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

Preview Lab → · Contrast checker → · Palette generator →

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