#DCD378#DCD378

#DCD378 is a very light, moderate yellow. Relative luminance 0.632; OKLCH L 85.5% C 0.113 H 103.5°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#DCD378
RGBrgb(220, 211, 120)
HSLhsl(55, 59%, 67%)
HSVhsv(55, 45%, 86%)
CMYKcmyk(0%, 4.1%, 45.5%, 13.7%)
CIE-LABlab(83.53, -9.33, 45.95)
CIE-LCHlch(83.53, 46.89, 101.48°)
OKLaboklab(85.48% -0.0265 0.1103)
OKLCHoklch(85.48% 0.113 103.5)
XYZxyz(56.2009, 63.1619, 26.9966)
Luminance0.6316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD378 #7881DC
analogous
#DCA178 #DCD378 #B3DC78
triadic
#DCD378 #78DCD3 #D378DC
tetradic
#DCD378 #78DCA1 #7881DC #DC78B3
square
#DCD378 #78DCA1 #7881DC #DC78B3
split-complementary
#DCD378 #78B3DC #A178DC
monochromatic
#ADA12D #CFC347 #DCD378 #E9E3A9 #F5F3D9

Accessibility & contrast

On white

1.54
#DCD378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#DCD378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD378
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD378#FFFFFF#000000##000000
##DCD3781.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD70
Deuteranopia (green-blind)
#E5D27C
Tritanopia (blue-blind)
#E9C8BD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd378;
/* rgb */ color: rgb(220, 211, 120);
/* oklch */ color: oklch(85.5% 0.113 103.5);
Tailwind
colors: {
  custom: {
    50: '#e8e0a0',
    500: '#dcd378',
    950: '#000000',
  },
}
SCSS
$custom: #dcd378;
$custom-light: #e8e0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd378",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 120
  },
  "hsl": {
    "h": 54.6,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85476,
    "c": 0.11345,
    "h": 103.5
  },
  "luminance": 0.6316
}

Semantic roles & 50–950 ramp

primary
#DCD378
secondary
#4952AF
accent
#2EC61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD378

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

Preview Lab → · Contrast checker → · Palette generator →

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