#DCD780#DCD780

#DCD780 is a very light, moderate yellow. Relative luminance 0.654; OKLCH L 86.4% C 0.109 H 105.6°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#DCD780
RGBrgb(220, 215, 128)
HSLhsl(57, 57%, 68%)
HSVhsv(57, 42%, 86%)
CMYKcmyk(0%, 2.3%, 41.8%, 13.7%)
CIE-LABlab(84.68, -10.56, 43.44)
CIE-LCHlch(84.68, 44.71, 103.66°)
OKLaboklab(86.42% -0.0293 0.1052)
OKLCHoklch(86.42% 0.109 105.6)
XYZxyz(57.7130, 65.3765, 29.9966)
Luminance0.6538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD780 #8085DC
analogous
#DCA980 #DCD780 #B3DC80
triadic
#DCD780 #80DCD7 #D780DC
tetradic
#DCD780 #80DCA9 #8085DC #DC80B3
square
#DCD780 #80DCA9 #8085DC #DC80B3
split-complementary
#DCD780 #80B3DC #A980DC
monochromatic
#B1AA31 #CFC850 #DCD780 #E9E6B0 #F6F5E0

Accessibility & contrast

On white

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

On black

14.08
#DCD780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD780
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD780#FFFFFF#000000##000000
##DCD7801.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D179
Deuteranopia (green-blind)
#E7D584
Tritanopia (blue-blind)
#E8CDC2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd780;
/* rgb */ color: rgb(220, 215, 128);
/* oklch */ color: oklch(86.4% 0.109 105.6);
Tailwind
colors: {
  custom: {
    50: '#e8e3a6',
    500: '#dcd780',
    950: '#000000',
  },
}
SCSS
$custom: #dcd780;
$custom-light: #e8e3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd780",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 128
  },
  "hsl": {
    "h": 56.739,
    "s": 56.79,
    "l": 68.235
  },
  "oklch": {
    "l": 0.86423,
    "c": 0.10921,
    "h": 105.6
  },
  "luminance": 0.65375
}

Semantic roles & 50–950 ramp

primary
#DCD780
secondary
#4E53B3
accent
#2AC421
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD780

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

Preview Lab → · Contrast checker → · Palette generator →

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