#DCD7A2#DCD7A2

#DCD7A2 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 87.0% C 0.070 H 103.2°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#DCD7A2
RGBrgb(220, 215, 162)
HSLhsl(55, 45%, 75%)
HSVhsv(55, 26%, 86%)
CMYKcmyk(0%, 2.3%, 26.4%, 13.7%)
CIE-LABlab(85.21, -6.54, 26.85)
CIE-LCHlch(85.21, 27.63, 103.70°)
OKLaboklab(87.02% -0.0159 0.0677)
OKLCHoklch(87.02% 0.07 103.2)
XYZxyz(60.3374, 66.4262, 43.8184)
Luminance0.6643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD7A2 #A2A7DC
analogous
#DCBAA2 #DCD7A2 #C4DCA2
triadic
#DCD7A2 #A2DCD7 #D7A2DC
tetradic
#DCD7A2 #A2DCBA #A2A7DC #DCA2C4
square
#DCD7A2 #A2DCBA #A2A7DC #DCA2C4
split-complementary
#DCD7A2 #A2C4DC #BAA2DC
monochromatic
#BBB149 #CBC476 #DCD7A2 #EDEACE #F7F5E9

Accessibility & contrast

On white

1.47
#DCD7A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#DCD7A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD7A2
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD7A2#FFFFFF#000000##000000
##DCD7A21.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D39F
Deuteranopia (green-blind)
#E3D6A4
Tritanopia (blue-blind)
#E5D0C9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd7a2;
/* rgb */ color: rgb(220, 215, 162);
/* oklch */ color: oklch(87.0% 0.070 103.2);
Tailwind
colors: {
  custom: {
    50: '#e7e3be',
    500: '#dcd7a2',
    950: '#000000',
  },
}
SCSS
$custom: #dcd7a2;
$custom-light: #e7e3be;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd7a2",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 162
  },
  "hsl": {
    "h": 54.828,
    "s": 45.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.87023,
    "c": 0.06955,
    "h": 103.2
  },
  "luminance": 0.66425
}

Semantic roles & 50–950 ramp

primary
#DCD7A2
secondary
#6E74B4
accent
#39B82D
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161512
muted
#848482

Preview Lab

Preview with #DCD7A2

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

Preview Lab → · Contrast checker → · Palette generator →

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