#DCD678#DCD678

#DCD678 is a very light, moderate yellow. Relative luminance 0.647; OKLCH L 86.1% C 0.117 H 105.4°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#DCD678
RGBrgb(220, 214, 120)
HSLhsl(56, 59%, 67%)
HSVhsv(56, 45%, 86%)
CMYKcmyk(0%, 2.7%, 45.5%, 13.7%)
CIE-LABlab(84.31, -10.85, 46.92)
CIE-LCHlch(84.31, 48.16, 103.02°)
OKLaboklab(86.1% -0.0309 0.1124)
OKLCHoklch(86.1% 0.117 105.4)
XYZxyz(56.9532, 64.6664, 27.2474)
Luminance0.6466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD678 #787EDC
analogous
#DCA478 #DCD678 #B0DC78
triadic
#DCD678 #78DCD6 #D678DC
tetradic
#DCD678 #78DCA4 #787EDC #DC78B0
square
#DCD678 #78DCA4 #787EDC #DC78B0
split-complementary
#DCD678 #78B0DC #A478DC
monochromatic
#ADA52D #CFC747 #DCD678 #E9E5A9 #F5F4D9

Accessibility & contrast

On white

1.51
#DCD678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#DCD678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD678
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD678#FFFFFF#000000##000000
##DCD6781.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D070
Deuteranopia (green-blind)
#E7D47C
Tritanopia (blue-blind)
#E9CBC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd678;
/* rgb */ color: rgb(220, 214, 120);
/* oklch */ color: oklch(86.1% 0.117 105.4);
Tailwind
colors: {
  custom: {
    50: '#e8e2a1',
    500: '#dcd678',
    950: '#000000',
  },
}
SCSS
$custom: #dcd678;
$custom-light: #e8e2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd678",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 120
  },
  "hsl": {
    "h": 56.4,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86098,
    "c": 0.11661,
    "h": 105.4
  },
  "luminance": 0.64665
}

Semantic roles & 50–950 ramp

primary
#DCD678
secondary
#494FAF
accent
#29C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD678

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

Preview Lab → · Contrast checker → · Palette generator →

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