#D4CD71#D4CD71

#D4CD71 is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.4% C 0.115 H 104.8°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#D4CD71
RGBrgb(212, 205, 113)
HSLhsl(56, 54%, 64%)
HSVhsv(56, 47%, 83%)
CMYKcmyk(0%, 3.3%, 46.7%, 16.9%)
CIE-LABlab(81.21, -10.17, 46.39)
CIE-LCHlch(81.21, 47.49, 102.36°)
OKLaboklab(83.45% -0.0292 0.1109)
OKLCHoklch(83.45% 0.115 104.8)
XYZxyz(51.9646, 58.8534, 24.2421)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD71 #7178D4
analogous
#D49B71 #D4CD71 #A9D471
triadic
#D4CD71 #71D4CD #CD71D4
tetradic
#D4CD71 #71D49B #7178D4 #D471A9
square
#D4CD71 #71D49B #7178D4 #D471A9
split-complementary
#D4CD71 #71A9D4 #9B71D4
monochromatic
#9C942F #C6BC42 #D4CD71 #E2DEA0 #F0EECF

Accessibility & contrast

On white

1.64
#D4CD71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#D4CD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD71
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD71#FFFFFF#000000##000000
##D4CD711.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC769
Deuteranopia (green-blind)
#DECC75
Tritanopia (blue-blind)
#E1C2B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cd71;
/* rgb */ color: rgb(212, 205, 113);
/* oklch */ color: oklch(83.4% 0.115 104.8);
Tailwind
colors: {
  custom: {
    50: '#e3dc9c',
    500: '#d4cd71',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd71;
$custom-light: #e3dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd71",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 113
  },
  "hsl": {
    "h": 55.758,
    "s": 53.514,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83449,
    "c": 0.11464,
    "h": 104.8
  },
  "luminance": 0.58852
}

Semantic roles & 50–950 ramp

primary
#D4CD71
secondary
#494FA0
accent
#30C125
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D4CD71

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

Preview Lab → · Contrast checker → · Palette generator →

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