#DCD477#DCD477

#DCD477 is a very light, moderate yellow. Relative luminance 0.636; OKLCH L 85.7% C 0.116 H 104.2°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#DCD477
RGBrgb(220, 212, 119)
HSLhsl(55, 59%, 66%)
HSVhsv(55, 46%, 86%)
CMYKcmyk(0%, 3.6%, 45.9%, 13.7%)
CIE-LABlab(83.78, -9.93, 46.75)
CIE-LCHlch(83.78, 47.79, 101.99°)
OKLaboklab(85.67% -0.0284 0.112)
OKLCHoklch(85.67% 0.116 104.2)
XYZxyz(56.3898, 63.6361, 26.7618)
Luminance0.6363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD477 #777FDC
analogous
#DCA277 #DCD477 #B2DC77
triadic
#DCD477 #77DCD4 #D477DC
tetradic
#DCD477 #77DCA2 #777FDC #DC77B2
square
#DCD477 #77DCA2 #777FDC #DC77B2
split-complementary
#DCD477 #77B2DC #A277DC
monochromatic
#ACA22C #CFC546 #DCD477 #E9E3A8 #F5F3D8

Accessibility & contrast

On white

1.53
#DCD477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#DCD477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD477
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD477#FFFFFF#000000##000000
##DCD4771.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE6F
Deuteranopia (green-blind)
#E6D37B
Tritanopia (blue-blind)
#E9C9BE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd477;
/* rgb */ color: rgb(220, 212, 119);
/* oklch */ color: oklch(85.7% 0.116 104.2);
Tailwind
colors: {
  custom: {
    50: '#e9e1a0',
    500: '#dcd477',
    950: '#000000',
  },
}
SCSS
$custom: #dcd477;
$custom-light: #e9e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd477",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 119
  },
  "hsl": {
    "h": 55.248,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85669,
    "c": 0.11554,
    "h": 104.2
  },
  "luminance": 0.63635
}

Semantic roles & 50–950 ramp

primary
#DCD477
secondary
#4851AF
accent
#2CC71F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD477

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

Preview Lab → · Contrast checker → · Palette generator →

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