#D1D73D#D1D73D

#D1D73D is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.8% C 0.168 H 111.7°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#D1D73D
RGBrgb(209, 215, 61)
HSLhsl(62, 66%, 54%)
HSVhsv(62, 72%, 84%)
CMYKcmyk(2.8%, 0%, 71.6%, 15.7%)
CIE-LABlab(83.18, -20.02, 70.61)
CIE-LCHlch(83.18, 73.39, 105.83°)
OKLaboklab(84.81% -0.0622 0.1562)
OKLCHoklch(84.81% 0.168 111.7)
XYZxyz(51.4389, 62.4944, 13.7669)
Luminance0.6249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D73D #433DD7
analogous
#D7903D #D1D73D #84D73D
triadic
#D1D73D #3DD1D7 #D73DD1
tetradic
#D1D73D #3DD790 #433DD7 #D73D84
square
#D1D73D #3DD790 #433DD7 #D73D84
split-complementary
#D1D73D #3D84D7 #903DD7
monochromatic
#7B7F1A #ADB225 #D1D73D #DDE170 #E9ECA2

Accessibility & contrast

On white

1.56
#D1D73D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#D1D73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D73D
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D73D#FFFFFF#000000##000000
##D1D73D1.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD1F
Deuteranopia (green-blind)
#E8D149
Tritanopia (blue-blind)
#DFCAB9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d1d73d;
/* rgb */ color: rgb(209, 215, 61);
/* oklch */ color: oklch(84.8% 0.168 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e37d',
    500: '#d1d73d',
    950: '#000000',
  },
}
SCSS
$custom: #d1d73d;
$custom-light: #e3e37d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d73d",
  "rgb": {
    "r": 209,
    "g": 215,
    "b": 61
  },
  "hsl": {
    "h": 62.338,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.84809,
    "c": 0.16811,
    "h": 111.7
  },
  "luminance": 0.62493
}

Semantic roles & 50–950 ramp

primary
#D1D73D
secondary
#353287
accent
#3FE946
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D1D73D

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

Preview Lab → · Contrast checker → · Palette generator →

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