#DCD970#DCD970

#DCD970 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.6% C 0.128 H 107.3°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#DCD970
RGBrgb(220, 217, 112)
HSLhsl(58, 61%, 65%)
HSVhsv(58, 49%, 86%)
CMYKcmyk(0%, 1.4%, 49.1%, 13.7%)
CIE-LABlab(85.00, -13.09, 51.59)
CIE-LCHlch(85.00, 53.22, 104.23°)
OKLaboklab(86.62% -0.0381 0.1221)
OKLCHoklch(86.62% 0.128 107.3)
XYZxyz(57.2540, 66.0127, 25.0518)
Luminance0.6601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD970 #7073DC
analogous
#DCA370 #DCD970 #A9DC70
triadic
#DCD970 #70DCD9 #D970DC
tetradic
#DCD970 #70DCA3 #7073DC #DC70A9
square
#DCD970 #70DCA3 #7073DC #DC70A9
split-complementary
#DCD970 #70A9DC #A370DC
monochromatic
#A8A529 #D0CC3F #DCD970 #E8E6A1 #F4F3D2

Accessibility & contrast

On white

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

On black

14.20
#DCD970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD970
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD970#FFFFFF#000000##000000
##DCD9701.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd970;
/* rgb */ color: rgb(220, 217, 112);
/* oklch */ color: oklch(86.6% 0.128 107.3);
Tailwind
colors: {
  custom: {
    50: '#e9e49b',
    500: '#dcd970',
    950: '#000000',
  },
}
SCSS
$custom: #dcd970;
$custom-light: #e9e49b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd970",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 58.333,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86617,
    "c": 0.12791,
    "h": 107.3
  },
  "luminance": 0.66011
}

Semantic roles & 50–950 ramp

primary
#DCD970
secondary
#4548AB
accent
#22C81D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD970

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

Preview Lab → · Contrast checker → · Palette generator →

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