#D9D73E#D9D73E

#D9D73E 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#D9D73E
RGBrgb(217, 215, 62)
HSLhsl(59, 67%, 55%)
HSVhsv(59, 71%, 85%)
CMYKcmyk(0%, 0.9%, 71.4%, 14.9%)
CIE-LABlab(83.81, -16.65, 71.10)
CIE-LCHlch(83.81, 73.02, 103.18°)
OKLaboklab(85.47% -0.0531 0.1571)
OKLCHoklch(85.47% 0.166 108.7)
XYZxyz(53.7872, 63.7021, 14.0189)
Luminance0.6370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D73E #3E40D9
analogous
#D98A3E #D9D73E #8DD93E
triadic
#D9D73E #3ED9D7 #D73ED9
tetradic
#D9D73E #3ED98A #3E40D9 #D93E8D
square
#D9D73E #3ED98A #3E40D9 #D93E8D
split-complementary
#D9D73E #3E8DD9 #8A3ED9
monochromatic
#83811A #B6B424 #D9D73E #E3E271 #EDECA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D73E#FFFFFF#000000##000000
##D9D73E1.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)
#E9CE21
Deuteranopia (green-blind)
#EBD34A
Tritanopia (blue-blind)
#E8C9B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d73e;
/* rgb */ color: rgb(217, 215, 62);
/* oklch */ color: oklch(85.5% 0.166 108.7);
Tailwind
colors: {
  custom: {
    50: '#e9e37e',
    500: '#d9d73e',
    950: '#000000',
  },
}
SCSS
$custom: #d9d73e;
$custom-light: #e9e37e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d73e",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 62
  },
  "hsl": {
    "h": 59.226,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.85472,
    "c": 0.16585,
    "h": 108.7
  },
  "luminance": 0.637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9D73E

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

Preview Lab → · Contrast checker → · Palette generator →

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