#DCD959#DCD959

#DCD959 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.4% C 0.149 H 107.9°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#DCD959
RGBrgb(220, 217, 89)
HSLhsl(59, 65%, 61%)
HSVhsv(59, 60%, 86%)
CMYKcmyk(0%, 1.4%, 59.5%, 13.7%)
CIE-LABlab(84.77, -14.87, 61.70)
CIE-LCHlch(84.77, 63.46, 103.55°)
OKLaboklab(86.36% -0.0456 0.1414)
OKLCHoklch(86.36% 0.149 107.9)
XYZxyz(56.1330, 65.5643, 19.1475)
Luminance0.6556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD959 #595CDC
analogous
#DC9759 #DCD959 #9DDC59
triadic
#DCD959 #59DCD9 #D959DC
tetradic
#DCD959 #59DC97 #595CDC #DC599D
square
#DCD959 #59DC97 #595CDC #DC599D
split-complementary
#DCD959 #599DDC #9759DC
monochromatic
#9A9720 #CDC92B #DCD959 #E7E58C #F1F0BE

Accessibility & contrast

On white

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

On black

14.11
#DCD959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD959
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD959#FFFFFF#000000##000000
##DCD9591.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD14A
Deuteranopia (green-blind)
#ECD660
Tritanopia (blue-blind)
#EBCCBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd959;
/* rgb */ color: rgb(220, 217, 89);
/* oklch */ color: oklch(86.4% 0.149 107.9);
Tailwind
colors: {
  custom: {
    50: '#eae48d',
    500: '#dcd959',
    950: '#000000',
  },
}
SCSS
$custom: #dcd959;
$custom-light: #eae48d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd959",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 89
  },
  "hsl": {
    "h": 58.626,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8636,
    "c": 0.14852,
    "h": 107.9
  },
  "luminance": 0.65563
}

Semantic roles & 50–950 ramp

primary
#DCD959
secondary
#3B3D9E
accent
#1DCD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #DCD959

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

Preview Lab → · Contrast checker → · Palette generator →

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