#D9CD72#D9CD72

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

Color values

HEX#D9CD72
RGBrgb(217, 205, 114)
HSLhsl(53, 58%, 65%)
HSVhsv(53, 47%, 85%)
CMYKcmyk(0%, 5.5%, 47.5%, 14.9%)
CIE-LABlab(81.64, -8.05, 46.51)
CIE-LCHlch(81.64, 47.21, 99.82°)
OKLaboklab(83.89% -0.0233 0.1112)
OKLCHoklch(83.89% 0.114 101.8)
XYZxyz(53.4853, 59.6310, 24.6089)
Luminance0.5963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD72 #727ED9
analogous
#D99A72 #D9CD72 #B1D972
triadic
#D9CD72 #72D9CD #CD72D9
tetradic
#D9CD72 #72D99A #727ED9 #D972B1
square
#D9CD72 #72D99A #727ED9 #D972B1
split-complementary
#D9CD72 #72B1D9 #9A72D9
monochromatic
#A4962C #CCBC42 #D9CD72 #E6DEA2 #F3EFD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CD72#FFFFFF#000000##000000
##D9CD721.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)
#DCC86A
Deuteranopia (green-blind)
#E0CD76
Tritanopia (blue-blind)
#E6C2B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cd72;
/* rgb */ color: rgb(217, 205, 114);
/* oklch */ color: oklch(83.9% 0.114 101.8);
Tailwind
colors: {
  custom: {
    50: '#e7dc9c',
    500: '#d9cd72',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd72;
$custom-light: #e7dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd72",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 53.01,
    "s": 57.542,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83891,
    "c": 0.11356,
    "h": 101.8
  },
  "luminance": 0.59629
}

Semantic roles & 50–950 ramp

primary
#D9CD72
secondary
#4753A8
accent
#34C520
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D9CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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