#DCD880#DCD880

#DCD880 is a very light, moderate yellow. Relative luminance 0.659; OKLCH L 86.6% C 0.110 H 106.2°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#DCD880
RGBrgb(220, 216, 128)
HSLhsl(57, 57%, 68%)
HSVhsv(57, 42%, 86%)
CMYKcmyk(0%, 1.8%, 41.8%, 13.7%)
CIE-LABlab(84.94, -11.06, 43.77)
CIE-LCHlch(84.94, 45.15, 104.18°)
OKLaboklab(86.63% -0.0308 0.1059)
OKLCHoklch(86.63% 0.11 106.2)
XYZxyz(57.9684, 65.8873, 30.0818)
Luminance0.6589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD880 #8084DC
analogous
#DCAA80 #DCD880 #B2DC80
triadic
#DCD880 #80DCD8 #D880DC
tetradic
#DCD880 #80DCAA #8084DC #DC80B2
square
#DCD880 #80DCAA #8084DC #DC80B2
split-complementary
#DCD880 #80B2DC #AA80DC
monochromatic
#B1AB31 #CFC950 #DCD880 #E9E7B0 #F6F5E0

Accessibility & contrast

On white

1.48
#DCD880 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.18
#DCD880 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD880
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD880#FFFFFF#000000##000000
##DCD8801.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D279
Deuteranopia (green-blind)
#E8D684
Tritanopia (blue-blind)
#E8CEC3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd880;
/* rgb */ color: rgb(220, 216, 128);
/* oklch */ color: oklch(86.6% 0.110 106.2);
Tailwind
colors: {
  custom: {
    50: '#e8e3a6',
    500: '#dcd880',
    950: '#000000',
  },
}
SCSS
$custom: #dcd880;
$custom-light: #e8e3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd880",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 128
  },
  "hsl": {
    "h": 57.391,
    "s": 56.79,
    "l": 68.235
  },
  "oklch": {
    "l": 0.8663,
    "c": 0.11032,
    "h": 106.2
  },
  "luminance": 0.65886
}

Semantic roles & 50–950 ramp

primary
#DCD880
secondary
#4E52B3
accent
#28C421
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD880

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

Preview Lab → · Contrast checker → · Palette generator →

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