#DCC678#DCC678

#DCC678 is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.8% C 0.101 H 94.1°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#DCC678
RGBrgb(220, 198, 120)
HSLhsl(47, 59%, 67%)
HSVhsv(47, 45%, 86%)
CMYKcmyk(0%, 10%, 45.5%, 13.7%)
CIE-LABlab(80.16, -2.67, 41.77)
CIE-LCHlch(80.16, 41.85, 93.66°)
OKLaboklab(82.81% -0.0073 0.1009)
OKLCHoklch(82.81% 0.101 94.1)
XYZxyz(53.1010, 56.9619, 25.9633)
Luminance0.5696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC678 #788EDC
analogous
#DC9478 #DCC678 #C0DC78
triadic
#DCC678 #78DCC6 #C678DC
tetradic
#DCC678 #78DC94 #788EDC #DC78C0
square
#DCC678 #78DC94 #788EDC #DC78C0
split-complementary
#DCC678 #78C0DC #9478DC
monochromatic
#AD912D #CFB147 #DCC678 #E9DBA9 #F5EFD9

Accessibility & contrast

On white

1.69
#DCC678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#DCC678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC678
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC678#FFFFFF#000000##000000
##DCC6781.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C372
Deuteranopia (green-blind)
#DBCA7B
Tritanopia (blue-blind)
#EABBB3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc678;
/* rgb */ color: rgb(220, 198, 120);
/* oklch */ color: oklch(82.8% 0.101 94.1);
Tailwind
colors: {
  custom: {
    50: '#e9d7a0',
    500: '#dcc678',
    950: '#000000',
  },
}
SCSS
$custom: #dcc678;
$custom-light: #e9d7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc678",
  "rgb": {
    "r": 220,
    "g": 198,
    "b": 120
  },
  "hsl": {
    "h": 46.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82808,
    "c": 0.1012,
    "h": 94.1
  },
  "luminance": 0.5696
}

Semantic roles & 50–950 ramp

primary
#DCC678
secondary
#495FAF
accent
#44C61F
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC678

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

Preview Lab → · Contrast checker → · Palette generator →

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