#DCD879#DCD879

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

Color values

HEX#DCD879
RGBrgb(220, 216, 121)
HSLhsl(58, 59%, 67%)
HSVhsv(58, 45%, 86%)
CMYKcmyk(0%, 1.8%, 45%, 13.7%)
CIE-LABlab(84.85, -11.76, 47.09)
CIE-LCHlch(84.85, 48.54, 104.02°)
OKLaboklab(86.53% -0.0334 0.1129)
OKLCHoklch(86.53% 0.118 106.5)
XYZxyz(57.5235, 65.7093, 27.7384)
Luminance0.6571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD879 #797DDC
analogous
#DCA779 #DCD879 #AFDC79
triadic
#DCD879 #79DCD8 #D879DC
tetradic
#DCD879 #79DCA7 #797DDC #DC79AF
square
#DCD879 #79DCA7 #797DDC #DC79AF
split-complementary
#DCD879 #79AFDC #A779DC
monochromatic
#ADA82D #CFCA48 #DCD879 #E9E6AA #F5F4DA

Accessibility & contrast

On white

1.48
#DCD879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#DCD879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD879
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD879#FFFFFF#000000##000000
##DCD8791.001.4814.1414.14
#FFFFFF1.481.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd879;
/* rgb */ color: rgb(220, 216, 121);
/* oklch */ color: oklch(86.5% 0.118 106.5);
Tailwind
colors: {
  custom: {
    50: '#e8e3a1',
    500: '#dcd879',
    950: '#000000',
  },
}
SCSS
$custom: #dcd879;
$custom-light: #e8e3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd879",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 121
  },
  "hsl": {
    "h": 57.576,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86528,
    "c": 0.11774,
    "h": 106.5
  },
  "luminance": 0.65708
}

Semantic roles & 50–950 ramp

primary
#DCD879
secondary
#4A4EB0
accent
#26C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD879

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

Preview Lab → · Contrast checker → · Palette generator →

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