#DCD87C#DCD87C

#DCD87C is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.6% C 0.115 H 106.4°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#DCD87C
RGBrgb(220, 216, 124)
HSLhsl(58, 58%, 67%)
HSVhsv(58, 44%, 86%)
CMYKcmyk(0%, 1.8%, 43.6%, 13.7%)
CIE-LABlab(84.89, -11.46, 45.67)
CIE-LCHlch(84.89, 47.09, 104.09°)
OKLaboklab(86.57% -0.0323 0.1099)
OKLCHoklch(86.57% 0.115 106.4)
XYZxyz(57.7103, 65.7840, 28.7224)
Luminance0.6578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD87C #7C80DC
analogous
#DCA87C #DCD87C #B0DC7C
triadic
#DCD87C #7CDCD8 #D87CDC
tetradic
#DCD87C #7CDCA8 #7C80DC #DC7CB0
square
#DCD87C #7CDCA8 #7C80DC #DC7CB0
split-complementary
#DCD87C #7CB0DC #A87CDC
monochromatic
#AFAA2F #CFCA4C #DCD87C #E9E6AC #F6F5DD

Accessibility & contrast

On white

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

On black

14.16
#DCD87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD87C
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD87C#FFFFFF#000000##000000
##DCD87C1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D274
Deuteranopia (green-blind)
#E8D680
Tritanopia (blue-blind)
#E8CDC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd87c;
/* rgb */ color: rgb(220, 216, 124);
/* oklch */ color: oklch(86.6% 0.115 106.4);
Tailwind
colors: {
  custom: {
    50: '#e8e3a3',
    500: '#dcd87c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd87c;
$custom-light: #e8e3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd87c",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 124
  },
  "hsl": {
    "h": 57.5,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86571,
    "c": 0.11459,
    "h": 106.4
  },
  "luminance": 0.65783
}

Semantic roles & 50–950 ramp

primary
#DCD87C
secondary
#4B4FB1
accent
#27C520
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD87C

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

Preview Lab → · Contrast checker → · Palette generator →

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