#D9C73C#D9C73C

#D9C73C is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.1% C 0.153 H 101.7°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#D9C73C
RGBrgb(217, 199, 60)
HSLhsl(53, 67%, 54%)
HSVhsv(53, 72%, 85%)
CMYKcmyk(0%, 8.3%, 72.4%, 14.9%)
CIE-LABlab(79.57, -8.71, 67.72)
CIE-LCHlch(79.57, 68.28, 97.33°)
OKLaboklab(82.09% -0.031 0.1496)
OKLCHoklch(82.09% 0.153 101.7)
XYZxyz(49.8566, 55.9270, 12.4429)
Luminance0.5593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C73C #3C4ED9
analogous
#D9793C #D9C73C #9DD93C
triadic
#D9C73C #3CD9C7 #C73CD9
tetradic
#D9C73C #3CD979 #3C4ED9 #D93C9D
square
#D9C73C #3CD979 #3C4ED9 #D93C9D
split-complementary
#D9C73C #3C9DD9 #793CD9
monochromatic
#817519 #B5A423 #D9C73C #E3D66F #EDE4A2

Accessibility & contrast

On white

1.72
#D9C73C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#D9C73C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C73C
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C73C#FFFFFF#000000##000000
##D9C73C1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC124
Deuteranopia (green-blind)
#DFC845
Tritanopia (blue-blind)
#EAB9AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c73c;
/* rgb */ color: rgb(217, 199, 60);
/* oklch */ color: oklch(82.1% 0.153 101.7);
Tailwind
colors: {
  custom: {
    50: '#e9d77b',
    500: '#d9c73c',
    950: '#000000',
  },
}
SCSS
$custom: #d9c73c;
$custom-light: #e9d77b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c73c",
  "rgb": {
    "r": 217,
    "g": 199,
    "b": 60
  },
  "hsl": {
    "h": 53.121,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82093,
    "c": 0.15279,
    "h": 101.7
  },
  "luminance": 0.55925
}

Semantic roles & 50–950 ramp

primary
#D9C73C
secondary
#313B88
accent
#51EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C73C

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

Preview Lab → · Contrast checker → · Palette generator →

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