#DCD960#DCD960

#DCD960 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.4% C 0.143 H 107.7°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#DCD960
RGBrgb(220, 217, 96)
HSLhsl(59, 64%, 62%)
HSVhsv(59, 56%, 86%)
CMYKcmyk(0%, 1.4%, 56.4%, 13.7%)
CIE-LABlab(84.84, -14.38, 58.73)
CIE-LCHlch(84.84, 60.46, 103.76°)
OKLaboklab(86.43% -0.0434 0.1359)
OKLCHoklch(86.43% 0.143 107.7)
XYZxyz(56.4410, 65.6875, 20.7699)
Luminance0.6569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD960 #6063DC
analogous
#DC9B60 #DCD960 #A1DC60
triadic
#DCD960 #60DCD9 #D960DC
tetradic
#DCD960 #60DC9B #6063DC #DC60A1
square
#DCD960 #60DC9B #6063DC #DC60A1
split-complementary
#DCD960 #60A1DC #9B60DC
monochromatic
#9F9C23 #D1CD2E #DCD960 #E7E592 #F2F1C4

Accessibility & contrast

On white

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

On black

14.14
#DCD960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD960
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD960#FFFFFF#000000##000000
##DCD9601.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D153
Deuteranopia (green-blind)
#EBD667
Tritanopia (blue-blind)
#EACCBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd960;
/* rgb */ color: rgb(220, 217, 96);
/* oklch */ color: oklch(86.4% 0.143 107.7);
Tailwind
colors: {
  custom: {
    50: '#e9e491',
    500: '#dcd960',
    950: '#000000',
  },
}
SCSS
$custom: #dcd960;
$custom-light: #e9e491;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd960",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 58.548,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86431,
    "c": 0.14267,
    "h": 107.7
  },
  "luminance": 0.65686
}

Semantic roles & 50–950 ramp

primary
#DCD960
secondary
#3E40A2
accent
#1ECC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD960

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

Preview Lab → · Contrast checker → · Palette generator →

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