#DCD957#DCD957

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

Color values

HEX#DCD957
RGBrgb(220, 217, 87)
HSLhsl(59, 66%, 60%)
HSVhsv(59, 60%, 86%)
CMYKcmyk(0%, 1.4%, 60.5%, 13.7%)
CIE-LABlab(84.76, -15.00, 62.53)
CIE-LCHlch(84.76, 64.30, 103.49°)
OKLaboklab(86.34% -0.0462 0.1428)
OKLCHoklch(86.34% 0.15 107.9)
XYZxyz(56.0501, 65.5311, 18.7112)
Luminance0.6553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD957 #575ADC
analogous
#DC9757 #DCD957 #9CDC57
triadic
#DCD957 #57DCD9 #D957DC
tetradic
#DCD957 #57DC97 #575ADC #DC579C
square
#DCD957 #57DC97 #575ADC #DC579C
split-complementary
#DCD957 #579CDC #9757DC
monochromatic
#999620 #CBC82A #DCD957 #E7E48A #F1F0BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD957#FFFFFF#000000##000000
##DCD9571.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)
#EAD148
Deuteranopia (green-blind)
#ECD65F
Tritanopia (blue-blind)
#EBCCBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd957;
/* rgb */ color: rgb(220, 217, 87);
/* oklch */ color: oklch(86.3% 0.150 107.9);
Tailwind
colors: {
  custom: {
    50: '#eae48c',
    500: '#dcd957',
    950: '#000000',
  },
}
SCSS
$custom: #dcd957;
$custom-light: #eae48c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd957",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 87
  },
  "hsl": {
    "h": 58.647,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86341,
    "c": 0.15012,
    "h": 107.9
  },
  "luminance": 0.65529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD957

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

Preview Lab → · Contrast checker → · Palette generator →

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