#D9C73F#D9C73F

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

Color values

HEX#D9C73F
RGBrgb(217, 199, 63)
HSLhsl(53, 67%, 55%)
HSVhsv(53, 71%, 85%)
CMYKcmyk(0%, 8.3%, 71%, 14.9%)
CIE-LABlab(79.59, -8.57, 66.65)
CIE-LCHlch(79.59, 67.20, 97.33°)
OKLaboklab(82.11% -0.0303 0.1479)
OKLCHoklch(82.11% 0.151 101.6)
XYZxyz(49.9381, 55.9596, 12.8725)
Luminance0.5596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C73F #3F51D9
analogous
#D97A3F #D9C73F #9ED93F
triadic
#D9C73F #3FD9C7 #C73FD9
tetradic
#D9C73F #3FD97A #3F51D9 #D93F9E
square
#D9C73F #3FD97A #3F51D9 #D93F9E
split-complementary
#D9C73F #3F9ED9 #7A3FD9
monochromatic
#84771A #B7A624 #D9C73F #E3D672 #EDE5A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9C73F#FFFFFF#000000##000000
##D9C73F1.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)
#D9C129
Deuteranopia (green-blind)
#DFC848
Tritanopia (blue-blind)
#E9B9AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c73f;
/* rgb */ color: rgb(217, 199, 63);
/* oklch */ color: oklch(82.1% 0.151 101.6);
Tailwind
colors: {
  custom: {
    50: '#e9d77d',
    500: '#d9c73f',
    950: '#000000',
  },
}
SCSS
$custom: #d9c73f;
$custom-light: #e9d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c73f",
  "rgb": {
    "r": 217,
    "g": 199,
    "b": 63
  },
  "hsl": {
    "h": 52.987,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82114,
    "c": 0.15096,
    "h": 101.6
  },
  "luminance": 0.55957
}

Semantic roles & 50–950 ramp

primary
#D9C73F
secondary
#323C8A
accent
#52EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C73F

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

Preview Lab → · Contrast checker → · Palette generator →

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