#D2CD71#D2CD71

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

Color values

HEX#D2CD71
RGBrgb(210, 205, 113)
HSLhsl(57, 52%, 63%)
HSVhsv(57, 46%, 82%)
CMYKcmyk(0%, 2.4%, 46.2%, 17.6%)
CIE-LABlab(81.05, -10.97, 46.15)
CIE-LCHlch(81.05, 47.44, 103.37°)
OKLaboklab(83.28% -0.0314 0.1104)
OKLCHoklch(83.28% 0.115 105.9)
XYZxyz(51.3914, 58.5579, 24.2152)
Luminance0.5856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD71 #7176D2
analogous
#D29C71 #D2CD71 #A6D271
triadic
#D2CD71 #71D2CD #CD71D2
tetradic
#D2CD71 #71D29C #7176D2 #D271A6
square
#D2CD71 #71D29C #7176D2 #D271A6
split-complementary
#D2CD71 #71A6D2 #9C71D2
monochromatic
#989330 #C3BD43 #D2CD71 #E1DD9F #EFEECE

Accessibility & contrast

On white

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

On black

12.71
#D2CD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD71
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD71#FFFFFF#000000##000000
##D2CD711.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cd71;
/* rgb */ color: rgb(210, 205, 113);
/* oklch */ color: oklch(83.3% 0.115 105.9);
Tailwind
colors: {
  custom: {
    50: '#e1dc9c',
    500: '#d2cd71',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd71;
$custom-light: #e1dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd71",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 113
  },
  "hsl": {
    "h": 56.907,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8328,
    "c": 0.11474,
    "h": 105.9
  },
  "luminance": 0.58557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2CD71

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

Preview Lab → · Contrast checker → · Palette generator →

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