#DCD178#DCD178

#DCD178 is a very light, moderate yellow. Relative luminance 0.622; OKLCH L 85.1% C 0.111 H 102.2°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#DCD178
RGBrgb(220, 209, 120)
HSLhsl(53, 59%, 67%)
HSVhsv(53, 45%, 86%)
CMYKcmyk(0%, 5%, 45.5%, 13.7%)
CIE-LABlab(83.01, -8.32, 45.31)
CIE-LCHlch(83.01, 46.07, 100.40°)
OKLaboklab(85.06% -0.0236 0.1089)
OKLCHoklch(85.06% 0.111 102.2)
XYZxyz(55.7072, 62.1743, 26.8320)
Luminance0.6217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD178 #7883DC
analogous
#DC9F78 #DCD178 #B5DC78
triadic
#DCD178 #78DCD1 #D178DC
tetradic
#DCD178 #78DC9F #7883DC #DC78B5
square
#DCD178 #78DC9F #7883DC #DC78B5
split-complementary
#DCD178 #78B5DC #9F78DC
monochromatic
#AD9F2D #CFC047 #DCD178 #E9E2A9 #F5F2D9

Accessibility & contrast

On white

1.56
#DCD178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#DCD178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD178
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD178#FFFFFF#000000##000000
##DCD1781.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC71
Deuteranopia (green-blind)
#E3D17C
Tritanopia (blue-blind)
#E9C6BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd178;
/* rgb */ color: rgb(220, 209, 120);
/* oklch */ color: oklch(85.1% 0.111 102.2);
Tailwind
colors: {
  custom: {
    50: '#e8dea0',
    500: '#dcd178',
    950: '#000000',
  },
}
SCSS
$custom: #dcd178;
$custom-light: #e8dea0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd178",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 53.4,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85062,
    "c": 0.1114,
    "h": 102.2
  },
  "luminance": 0.62173
}

Semantic roles & 50–950 ramp

primary
#DCD178
secondary
#4954AF
accent
#31C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD178

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

Preview Lab → · Contrast checker → · Palette generator →

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