#D2CD72#D2CD72

#D2CD72 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.114 H 105.8°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D2CD72
RGBrgb(210, 205, 114)
HSLhsl(57, 52%, 64%)
HSVhsv(57, 46%, 82%)
CMYKcmyk(0%, 2.4%, 45.7%, 17.6%)
CIE-LABlab(81.06, -10.88, 45.68)
CIE-LCHlch(81.06, 46.95, 103.39°)
OKLaboklab(83.29% -0.031 0.1094)
OKLCHoklch(83.29% 0.114 105.8)
XYZxyz(51.4481, 58.5805, 24.5134)
Luminance0.5858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD72 #7277D2
analogous
#D29D72 #D2CD72 #A7D272
triadic
#D2CD72 #72D2CD #CD72D2
tetradic
#D2CD72 #72D29D #7277D2 #D272A7
square
#D2CD72 #72D29D #7277D2 #D272A7
split-complementary
#D2CD72 #72A7D2 #9D72D2
monochromatic
#999331 #C3BD44 #D2CD72 #E1DDA0 #F0EECF

Accessibility & contrast

On white

1.65
#D2CD72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#D2CD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD72
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD72#FFFFFF#000000##000000
##D2CD721.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cd72;
/* rgb */ color: rgb(210, 205, 114);
/* oklch */ color: oklch(83.3% 0.114 105.8);
Tailwind
colors: {
  custom: {
    50: '#e1dc9c',
    500: '#d2cd72',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd72;
$custom-light: #e1dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd72",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 56.875,
    "s": 51.613,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83294,
    "c": 0.1137,
    "h": 105.8
  },
  "luminance": 0.58579
}

Semantic roles & 50–950 ramp

primary
#D2CD72
secondary
#4A4F9E
accent
#2EBF26
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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