#DCC780#DCC780

#DCC780 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 83.1% C 0.093 H 93.5°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#DCC780
RGBrgb(220, 199, 128)
HSLhsl(46, 57%, 68%)
HSVhsv(46, 42%, 86%)
CMYKcmyk(0%, 9.5%, 41.8%, 13.7%)
CIE-LABlab(80.53, -2.38, 38.19)
CIE-LCHlch(80.53, 38.26, 93.56°)
OKLaboklab(83.14% -0.0057 0.0933)
OKLCHoklch(83.14% 0.093 93.5)
XYZxyz(53.8362, 57.6230, 28.7044)
Luminance0.5762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC780 #8095DC
analogous
#DC9980 #DCC780 #C3DC80
triadic
#DCC780 #80DCC7 #C780DC
tetradic
#DCC780 #80DC99 #8095DC #DC80C3
square
#DCC780 #80DC99 #8095DC #DC80C3
split-complementary
#DCC780 #80C3DC #9980DC
monochromatic
#B19431 #CFB250 #DCC780 #E9DCB0 #F6F1E0

Accessibility & contrast

On white

1.68
#DCC780 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#DCC780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC780
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC780#FFFFFF#000000##000000
##DCC7801.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C47B
Deuteranopia (green-blind)
#DBCB83
Tritanopia (blue-blind)
#E9BDB5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc780;
/* rgb */ color: rgb(220, 199, 128);
/* oklch */ color: oklch(83.1% 0.093 93.5);
Tailwind
colors: {
  custom: {
    50: '#e8d7a6',
    500: '#dcc780',
    950: '#000000',
  },
}
SCSS
$custom: #dcc780;
$custom-light: #e8d7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc780",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 128
  },
  "hsl": {
    "h": 46.304,
    "s": 56.79,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83137,
    "c": 0.09345,
    "h": 93.5
  },
  "luminance": 0.57621
}

Semantic roles & 50–950 ramp

primary
#DCC780
secondary
#4E65B3
accent
#46C421
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC780

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

Preview Lab → · Contrast checker → · Palette generator →

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