#DCD878#DCD878

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

Color values

HEX#DCD878
RGBrgb(220, 216, 120)
HSLhsl(58, 59%, 67%)
HSVhsv(58, 45%, 86%)
CMYKcmyk(0%, 1.8%, 45.5%, 13.7%)
CIE-LABlab(84.84, -11.85, 47.56)
CIE-LCHlch(84.84, 49.01, 103.99°)
OKLaboklab(86.51% -0.0338 0.1139)
OKLCHoklch(86.51% 0.119 106.5)
XYZxyz(57.4625, 65.6849, 27.4171)
Luminance0.6568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD878 #787CDC
analogous
#DCA678 #DCD878 #AEDC78
triadic
#DCD878 #78DCD8 #D878DC
tetradic
#DCD878 #78DCA6 #787CDC #DC78AE
square
#DCD878 #78DCA6 #787CDC #DC78AE
split-complementary
#DCD878 #78AEDC #A678DC
monochromatic
#ADA82D #CFCA47 #DCD878 #E9E6A9 #F5F4D9

Accessibility & contrast

On white

1.49
#DCD878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#DCD878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD878
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD878#FFFFFF#000000##000000
##DCD8781.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D170
Deuteranopia (green-blind)
#E9D67C
Tritanopia (blue-blind)
#E9CDC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd878;
/* rgb */ color: rgb(220, 216, 120);
/* oklch */ color: oklch(86.5% 0.119 106.5);
Tailwind
colors: {
  custom: {
    50: '#e8e3a1',
    500: '#dcd878',
    950: '#000000',
  },
}
SCSS
$custom: #dcd878;
$custom-light: #e8e3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd878",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 120
  },
  "hsl": {
    "h": 57.6,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86514,
    "c": 0.11877,
    "h": 106.5
  },
  "luminance": 0.65683
}

Semantic roles & 50–950 ramp

primary
#DCD878
secondary
#494DAF
accent
#26C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD878

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

Preview Lab → · Contrast checker → · Palette generator →

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