#D7CD72#D7CD72

#D7CD72 is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.114 H 103.0°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#D7CD72
RGBrgb(215, 205, 114)
HSLhsl(54, 56%, 65%)
HSVhsv(54, 47%, 84%)
CMYKcmyk(0%, 4.7%, 47%, 15.7%)
CIE-LABlab(81.47, -8.86, 46.27)
CIE-LCHlch(81.47, 47.11, 100.84°)
OKLaboklab(83.72% -0.0255 0.1106)
OKLCHoklch(83.72% 0.114 103)
XYZxyz(52.8942, 59.3262, 24.5811)
Luminance0.5933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD72 #727CD7
analogous
#D79A72 #D7CD72 #AFD772
triadic
#D7CD72 #72D7CD #CD72D7
tetradic
#D7CD72 #72D79A #727CD7 #D772AF
square
#D7CD72 #72D79A #727CD7 #D772AF
split-complementary
#D7CD72 #72AFD7 #9A72D7
monochromatic
#A1962E #C9BC42 #D7CD72 #E5DEA2 #F2EFD1

Accessibility & contrast

On white

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

On black

12.87
#D7CD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD72
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD72#FFFFFF#000000##000000
##D7CD721.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC86A
Deuteranopia (green-blind)
#DFCD76
Tritanopia (blue-blind)
#E4C2B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd72;
/* rgb */ color: rgb(215, 205, 114);
/* oklch */ color: oklch(83.7% 0.114 103.0);
Tailwind
colors: {
  custom: {
    50: '#e5dc9c',
    500: '#d7cd72',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd72;
$custom-light: #e5dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd72",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 54.059,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83719,
    "c": 0.11354,
    "h": 103
  },
  "luminance": 0.59325
}

Semantic roles & 50–950 ramp

primary
#D7CD72
secondary
#4851A5
accent
#32C322
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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