#D7CD71#D7CD71

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

Color values

HEX#D7CD71
RGBrgb(215, 205, 113)
HSLhsl(54, 56%, 64%)
HSVhsv(54, 47%, 84%)
CMYKcmyk(0%, 4.7%, 47.4%, 15.7%)
CIE-LABlab(81.46, -8.96, 46.75)
CIE-LCHlch(81.46, 47.60, 100.85°)
OKLaboklab(83.71% -0.0259 0.1116)
OKLCHoklch(83.71% 0.115 103.1)
XYZxyz(52.8376, 59.3036, 24.2830)
Luminance0.5930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD71 #717BD7
analogous
#D79A71 #D7CD71 #AED771
triadic
#D7CD71 #71D7CD #CD71D7
tetradic
#D7CD71 #71D79A #717BD7 #D771AE
square
#D7CD71 #71D79A #717BD7 #D771AE
split-complementary
#D7CD71 #71AED7 #9A71D7
monochromatic
#A0952D #CABC41 #D7CD71 #E4DEA1 #F2EFD0

Accessibility & contrast

On white

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

On black

12.86
#D7CD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD71
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD71#FFFFFF#000000##000000
##D7CD711.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC769
Deuteranopia (green-blind)
#DFCD75
Tritanopia (blue-blind)
#E4C2B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd71;
/* rgb */ color: rgb(215, 205, 113);
/* oklch */ color: oklch(83.7% 0.115 103.1);
Tailwind
colors: {
  custom: {
    50: '#e5dc9c',
    500: '#d7cd71',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd71;
$custom-light: #e5dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd71",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 113
  },
  "hsl": {
    "h": 54.118,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83705,
    "c": 0.11457,
    "h": 103.1
  },
  "luminance": 0.59302
}

Semantic roles & 50–950 ramp

primary
#D7CD71
secondary
#4851A4
accent
#32C422
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7CD71

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

Preview Lab → · Contrast checker → · Palette generator →

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