#DCD876#DCD876

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

Color values

HEX#DCD876
RGBrgb(220, 216, 118)
HSLhsl(58, 59%, 66%)
HSVhsv(58, 46%, 86%)
CMYKcmyk(0%, 1.8%, 46.4%, 13.7%)
CIE-LABlab(84.81, -12.04, 48.50)
CIE-LCHlch(84.81, 49.97, 103.94°)
OKLaboklab(86.49% -0.0345 0.1158)
OKLCHoklch(86.49% 0.121 106.6)
XYZxyz(57.3423, 65.6369, 26.7846)
Luminance0.6563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD876 #767ADC
analogous
#DCA576 #DCD876 #ADDC76
triadic
#DCD876 #76DCD8 #D876DC
tetradic
#DCD876 #76DCA5 #767ADC #DC76AD
square
#DCD876 #76DCA5 #767ADC #DC76AD
split-complementary
#DCD876 #76ADDC #A576DC
monochromatic
#ACA72C #D0CA45 #DCD876 #E8E6A7 #F5F4D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD876#FFFFFF#000000##000000
##DCD8761.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)
#E6D16E
Deuteranopia (green-blind)
#E9D67B
Tritanopia (blue-blind)
#E9CDC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd876;
/* rgb */ color: rgb(220, 216, 118);
/* oklch */ color: oklch(86.5% 0.121 106.6);
Tailwind
colors: {
  custom: {
    50: '#e9e39f',
    500: '#dcd876',
    950: '#000000',
  },
}
SCSS
$custom: #dcd876;
$custom-light: #e9e39f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd876",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 118
  },
  "hsl": {
    "h": 57.647,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86487,
    "c": 0.12083,
    "h": 106.6
  },
  "luminance": 0.65635
}

Semantic roles & 50–950 ramp

primary
#DCD876
secondary
#484CAE
accent
#25C71F
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DCD876

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

Preview Lab → · Contrast checker → · Palette generator →

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