#D1CD72#D1CD72

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

Color values

HEX#D1CD72
RGBrgb(209, 205, 114)
HSLhsl(57, 51%, 63%)
HSVhsv(57, 45%, 82%)
CMYKcmyk(0%, 1.9%, 45.5%, 18%)
CIE-LABlab(80.98, -11.28, 45.56)
CIE-LCHlch(80.98, 46.94, 103.91°)
OKLaboklab(83.21% -0.0321 0.1091)
OKLCHoklch(83.21% 0.114 106.4)
XYZxyz(51.1642, 58.4342, 24.5001)
Luminance0.5843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD72 #7276D1
analogous
#D19D72 #D1CD72 #A5D172
triadic
#D1CD72 #72D1CD #CD72D1
tetradic
#D1CD72 #72D19D #7276D1 #D172A5
square
#D1CD72 #72D19D #7276D1 #D172A5
split-complementary
#D1CD72 #72A5D1 #9D72D1
monochromatic
#979331 #C2BD44 #D1CD72 #E0DDA0 #EFEECE

Accessibility & contrast

On white

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

On black

12.69
#D1CD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD72
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD72#FFFFFF#000000##000000
##D1CD721.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1cd72;
/* rgb */ color: rgb(209, 205, 114);
/* oklch */ color: oklch(83.2% 0.114 106.4);
Tailwind
colors: {
  custom: {
    50: '#e1dc9c',
    500: '#d1cd72',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd72;
$custom-light: #e1dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd72",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 57.474,
    "s": 50.802,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8321,
    "c": 0.11377,
    "h": 106.4
  },
  "luminance": 0.58433
}

Semantic roles & 50–950 ramp

primary
#D1CD72
secondary
#4A4E9D
accent
#2EBE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D1CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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