#D4C73D#D4C73D

#D4C73D is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.152 H 103.9°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#D4C73D
RGBrgb(212, 199, 61)
HSLhsl(55, 64%, 54%)
HSVhsv(55, 71%, 83%)
CMYKcmyk(0%, 6.1%, 71.2%, 16.9%)
CIE-LABlab(79.15, -10.79, 66.80)
CIE-LCHlch(79.15, 67.67, 99.17°)
OKLaboklab(81.65% -0.0365 0.148)
OKLCHoklch(81.65% 0.152 103.9)
XYZxyz(48.4192, 55.1828, 12.5148)
Luminance0.5518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C73D #3D4AD4
analogous
#D47B3D #D4C73D #96D43D
triadic
#D4C73D #3DD4C7 #C73DD4
tetradic
#D4C73D #3DD47B #3D4AD4 #D43D96
square
#D4C73D #3DD47B #3D4AD4 #D43D96
split-complementary
#D4C73D #3D96D4 #7B3DD4
monochromatic
#7B731B #ADA226 #D4C73D #DFD56F #EAE4A1

Accessibility & contrast

On white

1.74
#D4C73D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#D4C73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C73D
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C73D#FFFFFF#000000##000000
##D4C73D1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C026
Deuteranopia (green-blind)
#DDC746
Tritanopia (blue-blind)
#E4B9AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d4c73d;
/* rgb */ color: rgb(212, 199, 61);
/* oklch */ color: oklch(81.7% 0.152 103.9);
Tailwind
colors: {
  custom: {
    50: '#e5d77b',
    500: '#d4c73d',
    950: '#000000',
  },
}
SCSS
$custom: #d4c73d;
$custom-light: #e5d77b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c73d",
  "rgb": {
    "r": 212,
    "g": 199,
    "b": 61
  },
  "hsl": {
    "h": 54.834,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81653,
    "c": 0.15246,
    "h": 103.9
  },
  "luminance": 0.55181
}

Semantic roles & 50–950 ramp

primary
#D4C73D
secondary
#323983
accent
#4FE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C73D

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

Preview Lab → · Contrast checker → · Palette generator →

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