#DCD973#DCD973

#DCD973 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.7% C 0.125 H 107.2°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#DCD973
RGBrgb(220, 217, 115)
HSLhsl(58, 60%, 66%)
HSVhsv(58, 48%, 86%)
CMYKcmyk(0%, 1.4%, 47.7%, 13.7%)
CIE-LABlab(85.04, -12.82, 50.21)
CIE-LCHlch(85.04, 51.82, 104.32°)
OKLaboklab(86.66% -0.037 0.1193)
OKLCHoklch(86.66% 0.125 107.2)
XYZxyz(57.4239, 66.0806, 25.9462)
Luminance0.6608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD973 #7376DC
analogous
#DCA473 #DCD973 #AADC73
triadic
#DCD973 #73DCD9 #D973DC
tetradic
#DCD973 #73DCA4 #7376DC #DC73AA
square
#DCD973 #73DCA4 #7376DC #DC73AA
split-complementary
#DCD973 #73AADC #A473DC
monochromatic
#AAA62B #D0CC42 #DCD973 #E8E6A4 #F4F4D5

Accessibility & contrast

On white

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

On black

14.22
#DCD973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD973
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD973#FFFFFF#000000##000000
##DCD9731.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D26A
Deuteranopia (green-blind)
#EAD678
Tritanopia (blue-blind)
#E9CEC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd973;
/* rgb */ color: rgb(220, 217, 115);
/* oklch */ color: oklch(86.7% 0.125 107.2);
Tailwind
colors: {
  custom: {
    50: '#e9e49d',
    500: '#dcd973',
    950: '#000000',
  },
}
SCSS
$custom: #dcd973;
$custom-light: #e9e49d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd973",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 115
  },
  "hsl": {
    "h": 58.286,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86656,
    "c": 0.12494,
    "h": 107.2
  },
  "luminance": 0.66079
}

Semantic roles & 50–950 ramp

primary
#DCD973
secondary
#4749AD
accent
#23C81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD973

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

Preview Lab → · Contrast checker → · Palette generator →

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