#D4C73C#D4C73C

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

Color values

HEX#D4C73C
RGBrgb(212, 199, 60)
HSLhsl(55, 64%, 53%)
HSVhsv(55, 72%, 83%)
CMYKcmyk(0%, 6.1%, 71.7%, 16.9%)
CIE-LABlab(79.14, -10.83, 67.16)
CIE-LCHlch(79.14, 68.03, 99.16°)
OKLaboklab(81.65% -0.0367 0.1486)
OKLCHoklch(81.65% 0.153 103.9)
XYZxyz(48.3925, 55.1721, 12.3743)
Luminance0.5517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C73C #3C49D4
analogous
#D47B3C #D4C73C #95D43C
triadic
#D4C73C #3CD4C7 #C73CD4
tetradic
#D4C73C #3CD47B #3C49D4 #D43C95
square
#D4C73C #3CD47B #3C49D4 #D43C95
split-complementary
#D4C73C #3C95D4 #7B3CD4
monochromatic
#7B721B #ADA126 #D4C73C #DFD56E #EAE4A0

Accessibility & contrast

On white

1.75
#D4C73C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#D4C73C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C73C
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C73C#FFFFFF#000000##000000
##D4C73C1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4c73c;
/* rgb */ color: rgb(212, 199, 60);
/* oklch */ color: oklch(81.6% 0.153 103.9);
Tailwind
colors: {
  custom: {
    50: '#e5d77b',
    500: '#d4c73c',
    950: '#000000',
  },
}
SCSS
$custom: #d4c73c;
$custom-light: #e5d77b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c73c",
  "rgb": {
    "r": 212,
    "g": 199,
    "b": 60
  },
  "hsl": {
    "h": 54.868,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81647,
    "c": 0.15306,
    "h": 103.9
  },
  "luminance": 0.5517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4C73C

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

Preview Lab → · Contrast checker → · Palette generator →

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