#D2CB84#D2CB84

#D2CB84 is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.2% C 0.092 H 103.3°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D2CB84
RGBrgb(210, 203, 132)
HSLhsl(55, 46%, 67%)
HSVhsv(55, 37%, 82%)
CMYKcmyk(0%, 3.3%, 37.1%, 17.6%)
CIE-LABlab(80.78, -7.97, 36.31)
CIE-LCHlch(80.78, 37.17, 102.38°)
OKLaboklab(83.16% -0.0212 0.0892)
OKLCHoklch(83.16% 0.092 103.3)
XYZxyz(52.0999, 58.0807, 30.2915)
Luminance0.5808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB84 #848BD2
analogous
#D2A484 #D2CB84 #B2D284
triadic
#D2CB84 #84D2CB #CB84D2
tetradic
#D2CB84 #84D2A4 #848BD2 #D284B2
square
#D2CB84 #84D2A4 #848BD2 #D284B2
split-complementary
#D2CB84 #84B2D2 #A484D2
monochromatic
#A1983B #C2B857 #D2CB84 #E2DEB1 #F3F1DE

Accessibility & contrast

On white

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

On black

12.62
#D2CB84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB84
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB84#FFFFFF#000000##000000
##D2CB841.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cb84;
/* rgb */ color: rgb(210, 203, 132);
/* oklch */ color: oklch(83.2% 0.092 103.3);
Tailwind
colors: {
  custom: {
    50: '#e1daa8',
    500: '#d2cb84',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb84;
$custom-light: #e1daa8;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb84",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 132
  },
  "hsl": {
    "h": 54.615,
    "s": 46.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83156,
    "c": 0.09169,
    "h": 103.3
  },
  "luminance": 0.58079
}

Semantic roles & 50–950 ramp

primary
#D2CB84
secondary
#545CA6
accent
#39BA2C
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #D2CB84

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

Preview Lab → · Contrast checker → · Palette generator →

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