#D4D73D#D4D73D

#D4D73D is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.1% C 0.167 H 110.6°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#D4D73D
RGBrgb(212, 215, 61)
HSLhsl(61, 66%, 54%)
HSVhsv(61, 72%, 84%)
CMYKcmyk(1.4%, 0%, 71.6%, 15.7%)
CIE-LABlab(83.41, -18.77, 70.92)
CIE-LCHlch(83.41, 73.36, 104.83°)
OKLaboklab(85.05% -0.0589 0.1567)
OKLCHoklch(85.05% 0.167 110.6)
XYZxyz(52.2959, 62.9363, 13.8071)
Luminance0.6293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D73D #403DD7
analogous
#D78D3D #D4D73D #87D73D
triadic
#D4D73D #3DD4D7 #D73DD4
tetradic
#D4D73D #3DD78D #403DD7 #D73D87
square
#D4D73D #3DD78D #403DD7 #D73D87
split-complementary
#D4D73D #3D87D7 #8D3DD7
monochromatic
#7D7F1A #AFB225 #D4D73D #DFE170 #EAECA2

Accessibility & contrast

On white

1.55
#D4D73D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#D4D73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D73D
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D73D#FFFFFF#000000##000000
##D4D73D1.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE1F
Deuteranopia (green-blind)
#E9D249
Tritanopia (blue-blind)
#E3CAB9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d4d73d;
/* rgb */ color: rgb(212, 215, 61);
/* oklch */ color: oklch(85.1% 0.167 110.6);
Tailwind
colors: {
  custom: {
    50: '#e5e37d',
    500: '#d4d73d',
    950: '#000000',
  },
}
SCSS
$custom: #d4d73d;
$custom-light: #e5e37d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d73d",
  "rgb": {
    "r": 212,
    "g": 215,
    "b": 61
  },
  "hsl": {
    "h": 61.169,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.85053,
    "c": 0.16742,
    "h": 110.6
  },
  "luminance": 0.62935
}

Semantic roles & 50–950 ramp

primary
#D4D73D
secondary
#333287
accent
#3FE942
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4D73D

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

Preview Lab → · Contrast checker → · Palette generator →

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