#D2CD82#D2CD82

#D2CD82 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.5% C 0.096 H 105.0°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#D2CD82
RGBrgb(210, 205, 130)
HSLhsl(56, 47%, 67%)
HSVhsv(56, 38%, 82%)
CMYKcmyk(0%, 2.4%, 38.1%, 17.6%)
CIE-LABlab(81.28, -9.22, 37.96)
CIE-LCHlch(81.28, 39.07, 103.65°)
OKLaboklab(83.54% -0.0249 0.0929)
OKLCHoklch(83.54% 0.096 105)
XYZxyz(52.4397, 58.9772, 29.7361)
Luminance0.5898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD82 #8287D2
analogous
#D2A582 #D2CD82 #AFD282
triadic
#D2CD82 #82D2CD #CD82D2
tetradic
#D2CD82 #82D2A5 #8287D2 #D282AF
square
#D2CD82 #82D2A5 #8287D2 #D282AF
split-complementary
#D2CD82 #82AFD2 #A582D2
monochromatic
#A09A3A #C2BB55 #D2CD82 #E2DFAF #F2F1DC

Accessibility & contrast

On white

1.64
#D2CD82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#D2CD82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD82
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD82#FFFFFF#000000##000000
##D2CD821.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C87C
Deuteranopia (green-blind)
#DBCC85
Tritanopia (blue-blind)
#DDC4BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd82;
/* rgb */ color: rgb(210, 205, 130);
/* oklch */ color: oklch(83.5% 0.096 105.0);
Tailwind
colors: {
  custom: {
    50: '#e1dca7',
    500: '#d2cd82',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd82;
$custom-light: #e1dca7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd82",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 130
  },
  "hsl": {
    "h": 56.25,
    "s": 47.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.83539,
    "c": 0.09621,
    "h": 105
  },
  "luminance": 0.58976
}

Semantic roles & 50–950 ramp

primary
#D2CD82
secondary
#5358A5
accent
#34BA2B
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CD82

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

Preview Lab → · Contrast checker → · Palette generator →

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