#DCD87A#DCD87A

#DCD87A is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.5% C 0.117 H 106.5°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#DCD87A
RGBrgb(220, 216, 122)
HSLhsl(58, 58%, 67%)
HSVhsv(58, 45%, 86%)
CMYKcmyk(0%, 1.8%, 44.5%, 13.7%)
CIE-LABlab(84.86, -11.66, 46.62)
CIE-LCHlch(84.86, 48.05, 104.04°)
OKLaboklab(86.54% -0.0331 0.1119)
OKLCHoklch(86.54% 0.117 106.5)
XYZxyz(57.5851, 65.7340, 28.0631)
Luminance0.6573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD87A #7A7EDC
analogous
#DCA77A #DCD87A #AFDC7A
triadic
#DCD87A #7ADCD8 #D87ADC
tetradic
#DCD87A #7ADCA7 #7A7EDC #DC7AAF
square
#DCD87A #7ADCA7 #7A7EDC #DC7AAF
split-complementary
#DCD87A #7AAFDC #A77ADC
monochromatic
#AEA92E #CFCA4A #DCD87A #E9E6AA #F6F4DB

Accessibility & contrast

On white

1.48
#DCD87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#DCD87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD87A
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD87A#FFFFFF#000000##000000
##DCD87A1.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D272
Deuteranopia (green-blind)
#E8D67E
Tritanopia (blue-blind)
#E9CDC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd87a;
/* rgb */ color: rgb(220, 216, 122);
/* oklch */ color: oklch(86.5% 0.117 106.5);
Tailwind
colors: {
  custom: {
    50: '#e8e3a2',
    500: '#dcd87a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd87a;
$custom-light: #e8e3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd87a",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 122
  },
  "hsl": {
    "h": 57.551,
    "s": 58.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86543,
    "c": 0.1167,
    "h": 106.5
  },
  "luminance": 0.65733
}

Semantic roles & 50–950 ramp

primary
#DCD87A
secondary
#4A4EB0
accent
#26C620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD87A

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

Preview Lab → · Contrast checker → · Palette generator →

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