#DCD958#DCD958

#DCD958 is a very light, vivid yellow. Relative luminance 0.655; 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#DCD958
RGBrgb(220, 217, 88)
HSLhsl(59, 65%, 60%)
HSVhsv(59, 60%, 86%)
CMYKcmyk(0%, 1.4%, 60%, 13.7%)
CIE-LABlab(84.77, -14.94, 62.11)
CIE-LCHlch(84.77, 63.88, 103.52°)
OKLaboklab(86.35% -0.0459 0.1421)
OKLCHoklch(86.35% 0.149 107.9)
XYZxyz(56.0913, 65.5476, 18.9279)
Luminance0.6555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD958 #585BDC
analogous
#DC9758 #DCD958 #9DDC58
triadic
#DCD958 #58DCD9 #D958DC
tetradic
#DCD958 #58DC97 #585BDC #DC589D
square
#DCD958 #58DC97 #585BDC #DC589D
split-complementary
#DCD958 #589DDC #9758DC
monochromatic
#999720 #CCC82B #DCD958 #E7E58B #F1F0BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD958#FFFFFF#000000##000000
##DCD9581.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)
#EAD149
Deuteranopia (green-blind)
#ECD660
Tritanopia (blue-blind)
#EBCCBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd958;
/* rgb */ color: rgb(220, 217, 88);
/* oklch */ color: oklch(86.4% 0.149 107.9);
Tailwind
colors: {
  custom: {
    50: '#eae48c',
    500: '#dcd958',
    950: '#000000',
  },
}
SCSS
$custom: #dcd958;
$custom-light: #eae48c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd958",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 58.636,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.86351,
    "c": 0.14933,
    "h": 107.9
  },
  "luminance": 0.65546
}

Semantic roles & 50–950 ramp

primary
#DCD958
secondary
#3B3D9E
accent
#1CCD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD958

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

Preview Lab → · Contrast checker → · Palette generator →

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