#D9CD71#D9CD71

#D9CD71 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.115 H 101.9°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#D9CD71
RGBrgb(217, 205, 113)
HSLhsl(53, 58%, 65%)
HSVhsv(53, 48%, 85%)
CMYKcmyk(0%, 5.5%, 47.9%, 14.9%)
CIE-LABlab(81.62, -8.15, 46.99)
CIE-LCHlch(81.62, 47.69, 99.84°)
OKLaboklab(83.88% -0.0237 0.1121)
OKLCHoklch(83.88% 0.115 101.9)
XYZxyz(53.4287, 59.6083, 24.3107)
Luminance0.5961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD71 #717DD9
analogous
#D99971 #D9CD71 #B1D971
triadic
#D9CD71 #71D9CD #CD71D9
tetradic
#D9CD71 #71D999 #717DD9 #D971B1
square
#D9CD71 #71D999 #717DD9 #D971B1
split-complementary
#D9CD71 #71B1D9 #9971D9
monochromatic
#A4962C #CCBC41 #D9CD71 #E6DEA1 #F3EFD2

Accessibility & contrast

On white

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

On black

12.92
#D9CD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD71
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD71#FFFFFF#000000##000000
##D9CD711.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC869
Deuteranopia (green-blind)
#E0CD75
Tritanopia (blue-blind)
#E6C2B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cd71;
/* rgb */ color: rgb(217, 205, 113);
/* oklch */ color: oklch(83.9% 0.115 101.9);
Tailwind
colors: {
  custom: {
    50: '#e7dc9c',
    500: '#d9cd71',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd71;
$custom-light: #e7dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd71",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 113
  },
  "hsl": {
    "h": 53.077,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83878,
    "c": 0.11459,
    "h": 101.9
  },
  "luminance": 0.59607
}

Semantic roles & 50–950 ramp

primary
#D9CD71
secondary
#4752A7
accent
#33C520
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D9CD71

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

Preview Lab → · Contrast checker → · Palette generator →

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