#DCC877#DCC877

#DCC877 is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.2% C 0.104 H 95.9°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#DCC877
RGBrgb(220, 200, 119)
HSLhsl(48, 59%, 66%)
HSVhsv(48, 46%, 86%)
CMYKcmyk(0%, 9.1%, 45.9%, 13.7%)
CIE-LABlab(80.66, -3.80, 42.90)
CIE-LCHlch(80.66, 43.06, 95.06°)
OKLaboklab(83.2% -0.0107 0.1034)
OKLCHoklch(83.2% 0.104 95.9)
XYZxyz(53.5008, 57.8581, 25.7987)
Luminance0.5786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC877 #778BDC
analogous
#DC9677 #DCC877 #BEDC77
triadic
#DCC877 #77DCC8 #C877DC
tetradic
#DCC877 #77DC96 #778BDC #DC77BE
square
#DCC877 #77DC96 #778BDC #DC77BE
split-complementary
#DCC877 #77BEDC #9677DC
monochromatic
#AC932C #CFB446 #DCC877 #E9DCA8 #F5EFD8

Accessibility & contrast

On white

1.67
#DCC877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#DCC877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC877
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC877#FFFFFF#000000##000000
##DCC8771.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C470
Deuteranopia (green-blind)
#DCCB7A
Tritanopia (blue-blind)
#EABDB4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc877;
/* rgb */ color: rgb(220, 200, 119);
/* oklch */ color: oklch(83.2% 0.104 95.9);
Tailwind
colors: {
  custom: {
    50: '#e9d89f',
    500: '#dcc877',
    950: '#000000',
  },
}
SCSS
$custom: #dcc877;
$custom-light: #e9d89f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc877",
  "rgb": {
    "r": 220,
    "g": 200,
    "b": 119
  },
  "hsl": {
    "h": 48.119,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.832,
    "c": 0.10396,
    "h": 95.9
  },
  "luminance": 0.57856
}

Semantic roles & 50–950 ramp

primary
#DCC877
secondary
#485DAF
accent
#40C71F
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC877

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

Preview Lab → · Contrast checker → · Palette generator →

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