#DCC978#DCC978

#DCC978 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.4% C 0.104 H 96.5°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#DCC978
RGBrgb(220, 201, 120)
HSLhsl(49, 59%, 67%)
HSVhsv(49, 45%, 86%)
CMYKcmyk(0%, 8.6%, 45.5%, 13.7%)
CIE-LABlab(80.93, -4.22, 42.74)
CIE-LCHlch(80.93, 42.94, 95.64°)
OKLaboklab(83.42% -0.0118 0.1031)
OKLCHoklch(83.42% 0.104 96.5)
XYZxyz(53.7935, 58.3470, 26.1941)
Luminance0.5835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC978 #788BDC
analogous
#DC9778 #DCC978 #BDDC78
triadic
#DCC978 #78DCC9 #C978DC
tetradic
#DCC978 #78DC97 #788BDC #DC78BD
square
#DCC978 #78DC97 #788BDC #DC78BD
split-complementary
#DCC978 #78BDDC #9778DC
monochromatic
#AD942D #CFB647 #DCC978 #E9DCA9 #F5F0D9

Accessibility & contrast

On white

1.66
#DCC978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#DCC978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC978
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC978#FFFFFF#000000##000000
##DCC9781.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C572
Deuteranopia (green-blind)
#DDCC7B
Tritanopia (blue-blind)
#EABEB5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dcc978;
/* rgb */ color: rgb(220, 201, 120);
/* oklch */ color: oklch(83.4% 0.104 96.5);
Tailwind
colors: {
  custom: {
    50: '#e8d9a0',
    500: '#dcc978',
    950: '#000000',
  },
}
SCSS
$custom: #dcc978;
$custom-light: #e8d9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc978",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 120
  },
  "hsl": {
    "h": 48.6,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.83419,
    "c": 0.10378,
    "h": 96.5
  },
  "luminance": 0.58345
}

Semantic roles & 50–950 ramp

primary
#DCC978
secondary
#495CAF
accent
#3FC61F
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC978

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

Preview Lab → · Contrast checker → · Palette generator →

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