#DCD778#DCD778

#DCD778 is a very light, moderate yellow. Relative luminance 0.652; OKLCH L 86.3% C 0.118 H 105.9°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#DCD778
RGBrgb(220, 215, 120)
HSLhsl(57, 59%, 67%)
HSVhsv(57, 45%, 86%)
CMYKcmyk(0%, 2.3%, 45.5%, 13.7%)
CIE-LABlab(84.57, -11.35, 47.24)
CIE-LCHlch(84.57, 48.58, 103.51°)
OKLaboklab(86.31% -0.0323 0.1132)
OKLCHoklch(86.31% 0.118 105.9)
XYZxyz(57.2070, 65.1741, 27.3320)
Luminance0.6517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD778 #787DDC
analogous
#DCA578 #DCD778 #AFDC78
triadic
#DCD778 #78DCD7 #D778DC
tetradic
#DCD778 #78DCA5 #787DDC #DC78AF
square
#DCD778 #78DCA5 #787DDC #DC78AF
split-complementary
#DCD778 #78AFDC #A578DC
monochromatic
#ADA62D #CFC947 #DCD778 #E9E5A9 #F5F4D9

Accessibility & contrast

On white

1.50
#DCD778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#DCD778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD778
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD778#FFFFFF#000000##000000
##DCD7781.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D170
Deuteranopia (green-blind)
#E8D57C
Tritanopia (blue-blind)
#E9CCC1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd778;
/* rgb */ color: rgb(220, 215, 120);
/* oklch */ color: oklch(86.3% 0.118 105.9);
Tailwind
colors: {
  custom: {
    50: '#e8e3a1',
    500: '#dcd778',
    950: '#000000',
  },
}
SCSS
$custom: #dcd778;
$custom-light: #e8e3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd778",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 120
  },
  "hsl": {
    "h": 57,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86306,
    "c": 0.11769,
    "h": 105.9
  },
  "luminance": 0.65173
}

Semantic roles & 50–950 ramp

primary
#DCD778
secondary
#494EAF
accent
#27C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD778

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

Preview Lab → · Contrast checker → · Palette generator →

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