#D8C73C#D8C73C

#D8C73C is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.0% C 0.153 H 102.1°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#D8C73C
RGBrgb(216, 199, 60)
HSLhsl(53, 67%, 54%)
HSVhsv(53, 72%, 85%)
CMYKcmyk(0%, 7.9%, 72.2%, 15.3%)
CIE-LABlab(79.49, -9.13, 67.61)
CIE-LCHlch(79.49, 68.22, 97.69°)
OKLaboklab(82% -0.0322 0.1494)
OKLCHoklch(82% 0.153 102.1)
XYZxyz(49.5602, 55.7742, 12.4290)
Luminance0.5577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C73C #3C4DD8
analogous
#D8793C #D8C73C #9BD83C
triadic
#D8C73C #3CD8C7 #C73CD8
tetradic
#D8C73C #3CD879 #3C4DD8 #D83C9B
square
#D8C73C #3CD879 #3C4DD8 #D83C9B
split-complementary
#D8C73C #3C9BD8 #793CD8
monochromatic
#80751A #B3A324 #D8C73C #E2D66F #ECE4A2

Accessibility & contrast

On white

1.73
#D8C73C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#D8C73C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C73C
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C73C#FFFFFF#000000##000000
##D8C73C1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C124
Deuteranopia (green-blind)
#DEC845
Tritanopia (blue-blind)
#E8B9AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d8c73c;
/* rgb */ color: rgb(216, 199, 60);
/* oklch */ color: oklch(82.0% 0.153 102.1);
Tailwind
colors: {
  custom: {
    50: '#e8d77b',
    500: '#d8c73c',
    950: '#000000',
  },
}
SCSS
$custom: #d8c73c;
$custom-light: #e8d77b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c73c",
  "rgb": {
    "r": 216,
    "g": 199,
    "b": 60
  },
  "hsl": {
    "h": 53.462,
    "s": 66.667,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82003,
    "c": 0.15282,
    "h": 102.1
  },
  "luminance": 0.55772
}

Semantic roles & 50–950 ramp

primary
#D8C73C
secondary
#313A87
accent
#51EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8C73C

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

Preview Lab → · Contrast checker → · Palette generator →

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