#DCD950#DCD950

#DCD950 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.3% C 0.155 H 108.0°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#DCD950
RGBrgb(220, 217, 80)
HSLhsl(59, 67%, 59%)
HSVhsv(59, 64%, 86%)
CMYKcmyk(0%, 1.4%, 63.6%, 13.7%)
CIE-LABlab(84.70, -15.44, 65.35)
CIE-LCHlch(84.70, 67.15, 103.30°)
OKLaboklab(86.28% -0.0482 0.1478)
OKLCHoklch(86.28% 0.155 108)
XYZxyz(55.7779, 65.4222, 17.2774)
Luminance0.6542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD950 #5053DC
analogous
#DC9350 #DCD950 #99DC50
triadic
#DCD950 #50DCD9 #D950DC
tetradic
#DCD950 #50DC93 #5053DC #DC5099
square
#DCD950 #50DC93 #5053DC #DC5099
split-complementary
#DCD950 #5099DC #9350DC
monochromatic
#94911E #C7C428 #DCD950 #E6E483 #F0EFB6

Accessibility & contrast

On white

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

On black

14.08
#DCD950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD950
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD950#FFFFFF#000000##000000
##DCD9501.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13E
Deuteranopia (green-blind)
#ECD659
Tritanopia (blue-blind)
#EBCCBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd950;
/* rgb */ color: rgb(220, 217, 80);
/* oklch */ color: oklch(86.3% 0.155 108.0);
Tailwind
colors: {
  custom: {
    50: '#eae488',
    500: '#dcd950',
    950: '#000000',
  },
}
SCSS
$custom: #dcd950;
$custom-light: #eae488;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd950",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 58.714,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.86279,
    "c": 0.15545,
    "h": 108
  },
  "luminance": 0.65421
}

Semantic roles & 50–950 ramp

primary
#DCD950
secondary
#383A99
accent
#42EA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD950

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

Preview Lab → · Contrast checker → · Palette generator →

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