#D8CD72#D8CD72

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

Color values

HEX#D8CD72
RGBrgb(216, 205, 114)
HSLhsl(54, 57%, 65%)
HSVhsv(54, 47%, 85%)
CMYKcmyk(0%, 5.1%, 47.2%, 15.3%)
CIE-LABlab(81.55, -8.46, 46.39)
CIE-LCHlch(81.55, 47.16, 100.33°)
OKLaboklab(83.81% -0.0244 0.1109)
OKLCHoklch(83.81% 0.114 102.4)
XYZxyz(53.1888, 59.4781, 24.5950)
Luminance0.5948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD72 #727DD8
analogous
#D89A72 #D8CD72 #B0D872
triadic
#D8CD72 #72D8CD #CD72D8
tetradic
#D8CD72 #72D89A #727DD8 #D872B0
square
#D8CD72 #72D89A #727DD8 #D872B0
split-complementary
#D8CD72 #72B0D8 #9A72D8
monochromatic
#A3962D #CBBC42 #D8CD72 #E5DEA2 #F3EFD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8CD72#FFFFFF#000000##000000
##D8CD721.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)
#DCC86A
Deuteranopia (green-blind)
#DFCD76
Tritanopia (blue-blind)
#E5C2B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cd72;
/* rgb */ color: rgb(216, 205, 114);
/* oklch */ color: oklch(83.8% 0.114 102.4);
Tailwind
colors: {
  custom: {
    50: '#e6dc9c',
    500: '#d8cd72',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd72;
$custom-light: #e6dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd72",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 53.529,
    "s": 56.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83805,
    "c": 0.11355,
    "h": 102.4
  },
  "luminance": 0.59476
}

Semantic roles & 50–950 ramp

primary
#D8CD72
secondary
#4852A6
accent
#33C421
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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