#DCD078#DCD078

#DCD078 is a very light, moderate yellow. Relative luminance 0.617; OKLCH L 84.9% C 0.110 H 101.6°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#DCD078
RGBrgb(220, 208, 120)
HSLhsl(53, 59%, 67%)
HSVhsv(53, 45%, 86%)
CMYKcmyk(0%, 5.5%, 45.5%, 13.7%)
CIE-LABlab(82.75, -7.81, 44.99)
CIE-LCHlch(82.75, 45.66, 99.84°)
OKLaboklab(84.86% -0.0222 0.1082)
OKLCHoklch(84.86% 0.11 101.6)
XYZxyz(55.4626, 61.6852, 26.7505)
Luminance0.6168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD078 #7884DC
analogous
#DC9E78 #DCD078 #B6DC78
triadic
#DCD078 #78DCD0 #D078DC
tetradic
#DCD078 #78DC9E #7884DC #DC78B6
square
#DCD078 #78DC9E #7884DC #DC78B6
split-complementary
#DCD078 #78B6DC #9E78DC
monochromatic
#AD9D2D #CFBF47 #DCD078 #E9E1A9 #F5F2D9

Accessibility & contrast

On white

1.57
#DCD078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#DCD078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD078
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD078#FFFFFF#000000##000000
##DCD0781.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB71
Deuteranopia (green-blind)
#E2D07C
Tritanopia (blue-blind)
#E9C5BB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd078;
/* rgb */ color: rgb(220, 208, 120);
/* oklch */ color: oklch(84.9% 0.110 101.6);
Tailwind
colors: {
  custom: {
    50: '#e8dea0',
    500: '#dcd078',
    950: '#000000',
  },
}
SCSS
$custom: #dcd078;
$custom-light: #e8dea0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd078",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 120
  },
  "hsl": {
    "h": 52.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.84855,
    "c": 0.1104,
    "h": 101.6
  },
  "luminance": 0.61683
}

Semantic roles & 50–950 ramp

primary
#DCD078
secondary
#4955AF
accent
#33C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD078

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

Preview Lab → · Contrast checker → · Palette generator →

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