#DCD7AB#DCD7AB

#DCD7AB is a very light, muted yellow. Relative luminance 0.668; OKLCH L 87.2% C 0.058 H 102.1°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#DCD7AB
RGBrgb(220, 215, 171)
HSLhsl(54, 41%, 77%)
HSVhsv(54, 22%, 86%)
CMYKcmyk(0%, 2.3%, 22.3%, 13.7%)
CIE-LABlab(85.38, -5.31, 22.39)
CIE-LCHlch(85.38, 23.01, 103.34°)
OKLaboklab(87.21% -0.0122 0.057)
OKLCHoklch(87.21% 0.058 102.1)
XYZxyz(61.1662, 66.7577, 48.1835)
Luminance0.6676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD7AB #ABB0DC
analogous
#DCBFAB #DCD7AB #C9DCAB
triadic
#DCD7AB #ABDCD7 #D7ABDC
tetradic
#DCD7AB #ABDCBF #ABB0DC #DCABC9
square
#DCD7AB #ABDCBF #ABB0DC #DCABC9
split-complementary
#DCD7AB #ABC9DC #BFABDC
monochromatic
#B8AE55 #CAC280 #DCD7AB #EEECD6 #F6F5E9

Accessibility & contrast

On white

1.46
#DCD7AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#DCD7AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD7AB
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD7AB#FFFFFF#000000##000000
##DCD7AB1.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD4A8
Deuteranopia (green-blind)
#E1D7AD
Tritanopia (blue-blind)
#E4D1CB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd7ab;
/* rgb */ color: rgb(220, 215, 171);
/* oklch */ color: oklch(87.2% 0.058 102.1);
Tailwind
colors: {
  custom: {
    50: '#e7e3c4',
    500: '#dcd7ab',
    950: '#000000',
  },
}
SCSS
$custom: #dcd7ab;
$custom-light: #e7e3c4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd7ab",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 171
  },
  "hsl": {
    "h": 53.878,
    "s": 41.176,
    "l": 76.667
  },
  "oklch": {
    "l": 0.87211,
    "c": 0.05831,
    "h": 102.1
  },
  "luminance": 0.66757
}

Semantic roles & 50–950 ramp

primary
#DCD7AB
secondary
#777DB4
accent
#3FB431
background
#FEFEFD
surface
#FCFCF9
border
#D5D5D2
text
#161512
muted
#848482

Preview Lab

Preview with #DCD7AB

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

Preview Lab → · Contrast checker → · Palette generator →

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