#DCD7AC#DCD7AC

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

Color values

HEX#DCD7AC
RGBrgb(220, 215, 172)
HSLhsl(54, 41%, 77%)
HSVhsv(54, 22%, 86%)
CMYKcmyk(0%, 2.3%, 21.8%, 13.7%)
CIE-LABlab(85.40, -5.17, 21.89)
CIE-LCHlch(85.40, 22.49, 103.28°)
OKLaboklab(87.23% -0.0118 0.0558)
OKLCHoklch(87.23% 0.057 102)
XYZxyz(61.2619, 66.7960, 48.6874)
Luminance0.6680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD7AC #ACB1DC
analogous
#DCBFAC #DCD7AC #C9DCAC
triadic
#DCD7AC #ACDCD7 #D7ACDC
tetradic
#DCD7AC #ACDCBF #ACB1DC #DCACC9
square
#DCD7AC #ACDCBF #ACB1DC #DCACC9
split-complementary
#DCD7AC #ACC9DC #BFACDC
monochromatic
#B8AE56 #CAC281 #DCD7AC #EEECD7 #F6F5E9

Accessibility & contrast

On white

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

On black

14.36
#DCD7AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD7AC
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD7AC#FFFFFF#000000##000000
##DCD7AC1.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd7ac;
/* rgb */ color: rgb(220, 215, 172);
/* oklch */ color: oklch(87.2% 0.057 102.0);
Tailwind
colors: {
  custom: {
    50: '#e7e3c5',
    500: '#dcd7ac',
    950: '#000000',
  },
}
SCSS
$custom: #dcd7ac;
$custom-light: #e7e3c5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd7ac",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 172
  },
  "hsl": {
    "h": 53.75,
    "s": 40.678,
    "l": 76.863
  },
  "oklch": {
    "l": 0.87232,
    "c": 0.05704,
    "h": 102
  },
  "luminance": 0.66795
}

Semantic roles & 50–950 ramp

primary
#DCD7AC
secondary
#787EB4
accent
#3FB432
background
#FEFEFD
surface
#FCFCF9
border
#D5D5D2
text
#161512
muted
#848482

Preview Lab

Preview with #DCD7AC

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

Preview Lab → · Contrast checker → · Palette generator →

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