#DCD974#DCD974

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

Color values

HEX#DCD974
RGBrgb(220, 217, 116)
HSLhsl(58, 60%, 66%)
HSVhsv(58, 47%, 86%)
CMYKcmyk(0%, 1.4%, 47.3%, 13.7%)
CIE-LABlab(85.05, -12.73, 49.75)
CIE-LCHlch(85.05, 51.35, 104.35°)
OKLaboklab(86.67% -0.0367 0.1184)
OKLCHoklch(86.67% 0.124 107.2)
XYZxyz(57.4817, 66.1038, 26.2509)
Luminance0.6610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD974 #7477DC
analogous
#DCA574 #DCD974 #ABDC74
triadic
#DCD974 #74DCD9 #D974DC
tetradic
#DCD974 #74DCA5 #7477DC #DC74AB
square
#DCD974 #74DCA5 #7477DC #DC74AB
split-complementary
#DCD974 #74ABDC #A574DC
monochromatic
#ABA72B #D0CC43 #DCD974 #E8E6A5 #F5F4D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD974#FFFFFF#000000##000000
##DCD9741.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)
#E8D26B
Deuteranopia (green-blind)
#EAD679
Tritanopia (blue-blind)
#E9CEC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd974;
/* rgb */ color: rgb(220, 217, 116);
/* oklch */ color: oklch(86.7% 0.124 107.2);
Tailwind
colors: {
  custom: {
    50: '#e9e49e',
    500: '#dcd974',
    950: '#000000',
  },
}
SCSS
$custom: #dcd974;
$custom-light: #e9e49e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd974",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 116
  },
  "hsl": {
    "h": 58.269,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86669,
    "c": 0.12395,
    "h": 107.2
  },
  "luminance": 0.66102
}

Semantic roles & 50–950 ramp

primary
#DCD974
secondary
#474AAD
accent
#23C71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD974

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

Preview Lab → · Contrast checker → · Palette generator →

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