#D2CB87#D2CB87

#D2CB87 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.2% C 0.088 H 103.1°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#D2CB87
RGBrgb(210, 203, 135)
HSLhsl(54, 45%, 68%)
HSVhsv(54, 36%, 82%)
CMYKcmyk(0%, 3.3%, 35.7%, 17.6%)
CIE-LABlab(80.83, -7.63, 34.83)
CIE-LCHlch(80.83, 35.65, 102.35°)
OKLaboklab(83.21% -0.02 0.0859)
OKLCHoklch(83.21% 0.088 103.1)
XYZxyz(52.3081, 58.1640, 31.3883)
Luminance0.5816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB87 #878ED2
analogous
#D2A587 #D2CB87 #B3D287
triadic
#D2CB87 #87D2CB #CB87D2
tetradic
#D2CB87 #87D2A5 #878ED2 #D287B3
square
#D2CB87 #87D2A5 #878ED2 #D287B3
split-complementary
#D2CB87 #87B3D2 #A587D2
monochromatic
#A2983D #C1B85A #D2CB87 #E3DEB4 #F3F2E0

Accessibility & contrast

On white

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

On black

12.63
#D2CB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB87
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB87#FFFFFF#000000##000000
##D2CB871.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C682
Deuteranopia (green-blind)
#D9CA8A
Tritanopia (blue-blind)
#DDC2BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cb87;
/* rgb */ color: rgb(210, 203, 135);
/* oklch */ color: oklch(83.2% 0.088 103.1);
Tailwind
colors: {
  custom: {
    50: '#e1daaa',
    500: '#d2cb87',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb87;
$custom-light: #e1daaa;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb87",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 135
  },
  "hsl": {
    "h": 54.4,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83208,
    "c": 0.08821,
    "h": 103.1
  },
  "luminance": 0.58163
}

Semantic roles & 50–950 ramp

primary
#D2CB87
secondary
#565EA7
accent
#3AB92D
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #D2CB87

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

Preview Lab → · Contrast checker → · Palette generator →

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