#DCC778#DCC778

#DCC778 is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 83.0% C 0.102 H 95.0°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#DCC778
RGBrgb(220, 199, 120)
HSLhsl(47, 59%, 67%)
HSVhsv(47, 45%, 86%)
CMYKcmyk(0%, 9.5%, 45.5%, 13.7%)
CIE-LABlab(80.42, -3.19, 42.09)
CIE-LCHlch(80.42, 42.21, 94.33°)
OKLaboklab(83.01% -0.0088 0.1017)
OKLCHoklch(83.01% 0.102 95)
XYZxyz(53.3303, 57.4206, 26.0398)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC778 #788DDC
analogous
#DC9578 #DCC778 #BFDC78
triadic
#DCC778 #78DCC7 #C778DC
tetradic
#DCC778 #78DC95 #788DDC #DC78BF
square
#DCC778 #78DC95 #788DDC #DC78BF
split-complementary
#DCC778 #78BFDC #9578DC
monochromatic
#AD922D #CFB347 #DCC778 #E9DBA9 #F5EFD9

Accessibility & contrast

On white

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

On black

12.48
#DCC778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC778
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC778#FFFFFF#000000##000000
##DCC7781.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc778;
/* rgb */ color: rgb(220, 199, 120);
/* oklch */ color: oklch(83.0% 0.102 95.0);
Tailwind
colors: {
  custom: {
    50: '#e9d7a0',
    500: '#dcc778',
    950: '#000000',
  },
}
SCSS
$custom: #dcc778;
$custom-light: #e9d7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc778",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 120
  },
  "hsl": {
    "h": 47.4,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.83011,
    "c": 0.10204,
    "h": 95
  },
  "luminance": 0.57419
}

Semantic roles & 50–950 ramp

primary
#DCC778
secondary
#495EAF
accent
#42C61F
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC778

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

Preview Lab → · Contrast checker → · Palette generator →

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