#DCC378#DCC378

#DCC378 is a very light, moderate yellow. Relative luminance 0.556; OKLCH L 82.2% C 0.099 H 91.6°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#DCC378
RGBrgb(220, 195, 120)
HSLhsl(45, 59%, 67%)
HSVhsv(45, 45%, 86%)
CMYKcmyk(0%, 11.4%, 45.5%, 13.7%)
CIE-LABlab(79.39, -1.11, 40.80)
CIE-LCHlch(79.39, 40.82, 91.56°)
OKLaboklab(82.2% -0.0028 0.0988)
OKLCHoklch(82.2% 0.099 91.6)
XYZxyz(52.4220, 55.6041, 25.7370)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC378 #7891DC
analogous
#DC9178 #DCC378 #C3DC78
triadic
#DCC378 #78DCC3 #C378DC
tetradic
#DCC378 #78DC91 #7891DC #DC78C3
square
#DCC378 #78DC91 #7891DC #DC78C3
split-complementary
#DCC378 #78C3DC #9178DC
monochromatic
#AD8D2D #CFAD47 #DCC378 #E9D9A9 #F5EED9

Accessibility & contrast

On white

1.73
#DCC378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#DCC378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC378
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC378#FFFFFF#000000##000000
##DCC3781.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C072
Deuteranopia (green-blind)
#D8C87B
Tritanopia (blue-blind)
#EAB8B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc378;
/* rgb */ color: rgb(220, 195, 120);
/* oklch */ color: oklch(82.2% 0.099 91.6);
Tailwind
colors: {
  custom: {
    50: '#e9d5a0',
    500: '#dcc378',
    950: '#000000',
  },
}
SCSS
$custom: #dcc378;
$custom-light: #e9d5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc378",
  "rgb": {
    "r": 220,
    "g": 195,
    "b": 120
  },
  "hsl": {
    "h": 45,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82199,
    "c": 0.0988,
    "h": 91.6
  },
  "luminance": 0.55602
}

Semantic roles & 50–950 ramp

primary
#DCC378
secondary
#4963AF
accent
#49C61F
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC378

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

Preview Lab → · Contrast checker → · Palette generator →

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