#D9CD73#D9CD73

#D9CD73 is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 83.9% C 0.113 H 101.8°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#D9CD73
RGBrgb(217, 205, 115)
HSLhsl(53, 57%, 65%)
HSVhsv(53, 47%, 85%)
CMYKcmyk(0%, 5.5%, 47%, 14.9%)
CIE-LABlab(81.65, -7.96, 46.04)
CIE-LCHlch(81.65, 46.72, 99.81°)
OKLaboklab(83.91% -0.0229 0.1102)
OKLCHoklch(83.91% 0.113 101.8)
XYZxyz(53.5425, 59.6539, 24.9103)
Luminance0.5965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD73 #737FD9
analogous
#D99A73 #D9CD73 #B2D973
triadic
#D9CD73 #73D9CD #CD73D9
tetradic
#D9CD73 #73D99A #737FD9 #D973B2
square
#D9CD73 #73D99A #737FD9 #D973B2
split-complementary
#D9CD73 #73B2D9 #9A73D9
monochromatic
#A5972D #CCBC43 #D9CD73 #E6DEA3 #F3EFD3

Accessibility & contrast

On white

1.62
#D9CD73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#D9CD73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD73
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD73#FFFFFF#000000##000000
##D9CD731.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9cd73;
/* rgb */ color: rgb(217, 205, 115);
/* oklch */ color: oklch(83.9% 0.113 101.8);
Tailwind
colors: {
  custom: {
    50: '#e6dc9d',
    500: '#d9cd73',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd73;
$custom-light: #e6dc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd73",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 115
  },
  "hsl": {
    "h": 52.941,
    "s": 57.303,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83905,
    "c": 0.11253,
    "h": 101.8
  },
  "luminance": 0.59652
}

Semantic roles & 50–950 ramp

primary
#D9CD73
secondary
#4853A8
accent
#34C521
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D9CD73

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

Preview Lab → · Contrast checker → · Palette generator →

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