#D1CD71#D1CD71

#D1CD71 is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.115 H 106.4°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#D1CD71
RGBrgb(209, 205, 113)
HSLhsl(58, 51%, 63%)
HSVhsv(58, 46%, 82%)
CMYKcmyk(0%, 1.9%, 45.9%, 18%)
CIE-LABlab(80.97, -11.38, 46.03)
CIE-LCHlch(80.97, 47.42, 103.88°)
OKLaboklab(83.2% -0.0325 0.1101)
OKLCHoklch(83.2% 0.115 106.4)
XYZxyz(51.1076, 58.4115, 24.2019)
Luminance0.5841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD71 #7175D1
analogous
#D19D71 #D1CD71 #A5D171
triadic
#D1CD71 #71D1CD #CD71D1
tetradic
#D1CD71 #71D19D #7175D1 #D171A5
square
#D1CD71 #71D19D #7175D1 #D171A5
split-complementary
#D1CD71 #71A5D1 #9D71D1
monochromatic
#979331 #C2BD43 #D1CD71 #E0DD9F #EFEECD

Accessibility & contrast

On white

1.66
#D1CD71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#D1CD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD71
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD71#FFFFFF#000000##000000
##D1CD711.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC769
Deuteranopia (green-blind)
#DDCB75
Tritanopia (blue-blind)
#DDC3B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d1cd71;
/* rgb */ color: rgb(209, 205, 113);
/* oklch */ color: oklch(83.2% 0.115 106.4);
Tailwind
colors: {
  custom: {
    50: '#e1dc9c',
    500: '#d1cd71',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd71;
$custom-light: #e1dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd71",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 113
  },
  "hsl": {
    "h": 57.5,
    "s": 51.064,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83196,
    "c": 0.11481,
    "h": 106.4
  },
  "luminance": 0.5841
}

Semantic roles & 50–950 ramp

primary
#D1CD71
secondary
#4A4D9C
accent
#2DBE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D1CD71

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

Preview Lab → · Contrast checker → · Palette generator →

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