#D8CD73#D8CD73

#D8CD73 is a very light, moderate yellow. Relative luminance 0.595; OKLCH L 83.8% C 0.113 H 102.3°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#D8CD73
RGBrgb(216, 205, 115)
HSLhsl(53, 56%, 65%)
HSVhsv(53, 47%, 85%)
CMYKcmyk(0%, 5.1%, 46.8%, 15.3%)
CIE-LABlab(81.57, -8.36, 45.92)
CIE-LCHlch(81.57, 46.67, 100.32°)
OKLaboklab(83.82% -0.024 0.1099)
OKLCHoklch(83.82% 0.113 102.3)
XYZxyz(53.2461, 59.5010, 24.8964)
Luminance0.5950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD73 #737ED8
analogous
#D89A73 #D8CD73 #B1D873
triadic
#D8CD73 #73D8CD #CD73D8
tetradic
#D8CD73 #73D89A #737ED8 #D873B1
square
#D8CD73 #73D89A #737ED8 #D873B1
split-complementary
#D8CD73 #73B1D8 #9A73D8
monochromatic
#A3962D #CBBC43 #D8CD73 #E5DEA3 #F3EFD3

Accessibility & contrast

On white

1.63
#D8CD73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#D8CD73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD73
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD73#FFFFFF#000000##000000
##D8CD731.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC86B
Deuteranopia (green-blind)
#DFCD77
Tritanopia (blue-blind)
#E5C2B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cd73;
/* rgb */ color: rgb(216, 205, 115);
/* oklch */ color: oklch(83.8% 0.113 102.3);
Tailwind
colors: {
  custom: {
    50: '#e6dc9d',
    500: '#d8cd73',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd73;
$custom-light: #e6dc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd73",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 115
  },
  "hsl": {
    "h": 53.465,
    "s": 56.425,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83819,
    "c": 0.11252,
    "h": 102.3
  },
  "luminance": 0.59499
}

Semantic roles & 50–950 ramp

primary
#D8CD73
secondary
#4853A7
accent
#33C422
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8CD73

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

Preview Lab → · Contrast checker → · Palette generator →

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