#DCD977#DCD977

#DCD977 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.7% C 0.121 H 107.1°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#DCD977
RGBrgb(220, 217, 119)
HSLhsl(58, 59%, 66%)
HSVhsv(58, 46%, 86%)
CMYKcmyk(0%, 1.4%, 45.9%, 13.7%)
CIE-LABlab(85.09, -12.45, 48.35)
CIE-LCHlch(85.09, 49.93, 104.44°)
OKLaboklab(86.71% -0.0356 0.1155)
OKLCHoklch(86.71% 0.121 107.1)
XYZxyz(57.6591, 66.1747, 27.1848)
Luminance0.6617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD977 #777ADC
analogous
#DCA777 #DCD977 #ADDC77
triadic
#DCD977 #77DCD9 #D977DC
tetradic
#DCD977 #77DCA7 #777ADC #DC77AD
square
#DCD977 #77DCA7 #777ADC #DC77AD
split-complementary
#DCD977 #77ADDC #A777DC
monochromatic
#ACA82C #CFCB46 #DCD977 #E9E7A8 #F5F4D8

Accessibility & contrast

On white

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

On black

14.23
#DCD977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD977
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD977#FFFFFF#000000##000000
##DCD9771.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D26F
Deuteranopia (green-blind)
#E9D67C
Tritanopia (blue-blind)
#E9CEC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd977;
/* rgb */ color: rgb(220, 217, 119);
/* oklch */ color: oklch(86.7% 0.121 107.1);
Tailwind
colors: {
  custom: {
    50: '#e9e4a0',
    500: '#dcd977',
    950: '#000000',
  },
}
SCSS
$custom: #dcd977;
$custom-light: #e9e4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd977",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 119
  },
  "hsl": {
    "h": 58.218,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86709,
    "c": 0.12089,
    "h": 107.1
  },
  "luminance": 0.66173
}

Semantic roles & 50–950 ramp

primary
#DCD977
secondary
#484CAF
accent
#24C71F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD977

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

Preview Lab → · Contrast checker → · Palette generator →

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