#D7CD73#D7CD73

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

Color values

HEX#D7CD73
RGBrgb(215, 205, 115)
HSLhsl(54, 56%, 65%)
HSVhsv(54, 47%, 84%)
CMYKcmyk(0%, 4.7%, 46.5%, 15.7%)
CIE-LABlab(81.48, -8.77, 45.80)
CIE-LCHlch(81.48, 46.63, 100.84°)
OKLaboklab(83.73% -0.0251 0.1097)
OKLCHoklch(83.73% 0.113 102.9)
XYZxyz(52.9515, 59.3491, 24.8826)
Luminance0.5935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD73 #737DD7
analogous
#D79B73 #D7CD73 #AFD773
triadic
#D7CD73 #73D7CD #CD73D7
tetradic
#D7CD73 #73D79B #737DD7 #D773AF
square
#D7CD73 #73D79B #737DD7 #D773AF
split-complementary
#D7CD73 #73AFD7 #9B73D7
monochromatic
#A1962E #C9BC43 #D7CD73 #E5DEA3 #F2EFD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CD73#FFFFFF#000000##000000
##D7CD731.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)
#DBC86B
Deuteranopia (green-blind)
#DFCD77
Tritanopia (blue-blind)
#E4C2B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd73;
/* rgb */ color: rgb(215, 205, 115);
/* oklch */ color: oklch(83.7% 0.113 102.9);
Tailwind
colors: {
  custom: {
    50: '#e5dc9d',
    500: '#d7cd73',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd73;
$custom-light: #e5dc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd73",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 115
  },
  "hsl": {
    "h": 54,
    "s": 55.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83733,
    "c": 0.1125,
    "h": 102.9
  },
  "luminance": 0.59348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7CD73

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

Preview Lab → · Contrast checker → · Palette generator →

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