#D2CB82#D2CB82

#D2CB82 is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.094 H 103.5°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#D2CB82
RGBrgb(210, 203, 130)
HSLhsl(55, 47%, 67%)
HSVhsv(55, 38%, 82%)
CMYKcmyk(0%, 3.3%, 38.1%, 17.6%)
CIE-LABlab(80.75, -8.20, 37.29)
CIE-LCHlch(80.75, 38.18, 102.40°)
OKLaboklab(83.12% -0.022 0.0914)
OKLCHoklch(83.12% 0.094 103.5)
XYZxyz(51.9644, 58.0265, 29.5776)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB82 #8289D2
analogous
#D2A382 #D2CB82 #B1D282
triadic
#D2CB82 #82D2CB #CB82D2
tetradic
#D2CB82 #82D2A3 #8289D2 #D282B1
square
#D2CB82 #82D2A3 #8289D2 #D282B1
split-complementary
#D2CB82 #82B1D2 #A382D2
monochromatic
#A0973A #C2B855 #D2CB82 #E2DEAF #F2F0DC

Accessibility & contrast

On white

1.67
#D2CB82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#D2CB82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB82
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB82#FFFFFF#000000##000000
##D2CB821.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C67D
Deuteranopia (green-blind)
#DACA85
Tritanopia (blue-blind)
#DDC2B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cb82;
/* rgb */ color: rgb(210, 203, 130);
/* oklch */ color: oklch(83.1% 0.094 103.5);
Tailwind
colors: {
  custom: {
    50: '#e1daa7',
    500: '#d2cb82',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb82;
$custom-light: #e1daa7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb82",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 130
  },
  "hsl": {
    "h": 54.75,
    "s": 47.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.83122,
    "c": 0.09398,
    "h": 103.5
  },
  "luminance": 0.58025
}

Semantic roles & 50–950 ramp

primary
#D2CB82
secondary
#535AA5
accent
#38BA2B
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #D2CB82

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

Preview Lab → · Contrast checker → · Palette generator →

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