#DCD877#DCD877

#DCD877 is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.5% C 0.120 H 106.6°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#DCD877
RGBrgb(220, 216, 119)
HSLhsl(58, 59%, 66%)
HSVhsv(58, 46%, 86%)
CMYKcmyk(0%, 1.8%, 45.9%, 13.7%)
CIE-LABlab(84.82, -11.95, 48.03)
CIE-LCHlch(84.82, 49.49, 103.97°)
OKLaboklab(86.5% -0.0341 0.1148)
OKLCHoklch(86.5% 0.12 106.6)
XYZxyz(57.4021, 65.6608, 27.0992)
Luminance0.6566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD877 #777BDC
analogous
#DCA677 #DCD877 #AEDC77
triadic
#DCD877 #77DCD8 #D877DC
tetradic
#DCD877 #77DCA6 #777BDC #DC77AE
square
#DCD877 #77DCA6 #777BDC #DC77AE
split-complementary
#DCD877 #77AEDC #A677DC
monochromatic
#ACA72C #CFCA46 #DCD877 #E9E6A8 #F5F4D8

Accessibility & contrast

On white

1.49
#DCD877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#DCD877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD877
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD877#FFFFFF#000000##000000
##DCD8771.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16F
Deuteranopia (green-blind)
#E9D67B
Tritanopia (blue-blind)
#E9CDC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd877;
/* rgb */ color: rgb(220, 216, 119);
/* oklch */ color: oklch(86.5% 0.120 106.6);
Tailwind
colors: {
  custom: {
    50: '#e9e3a0',
    500: '#dcd877',
    950: '#000000',
  },
}
SCSS
$custom: #dcd877;
$custom-light: #e9e3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd877",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 57.624,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86501,
    "c": 0.11981,
    "h": 106.6
  },
  "luminance": 0.65659
}

Semantic roles & 50–950 ramp

primary
#DCD877
secondary
#484DAF
accent
#25C71F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD877

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

Preview Lab → · Contrast checker → · Palette generator →

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