#DCD955#DCD955

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

Color values

HEX#DCD955
RGBrgb(220, 217, 85)
HSLhsl(59, 66%, 60%)
HSVhsv(59, 61%, 86%)
CMYKcmyk(0%, 1.4%, 61.4%, 13.7%)
CIE-LABlab(84.74, -15.13, 63.34)
CIE-LCHlch(84.74, 65.13, 103.44°)
OKLaboklab(86.32% -0.0468 0.1443)
OKLCHoklch(86.32% 0.152 108)
XYZxyz(55.9696, 65.4989, 18.2868)
Luminance0.6550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD955 #5558DC
analogous
#DC9655 #DCD955 #9BDC55
triadic
#DCD955 #55DCD9 #D955DC
tetradic
#DCD955 #55DC96 #5558DC #DC559B
square
#DCD955 #55DC96 #5558DC #DC559B
split-complementary
#DCD955 #559BDC #9655DC
monochromatic
#97951F #CAC72A #DCD955 #E6E488 #F1F0BB

Accessibility & contrast

On white

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

On black

14.10
#DCD955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD955
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD955#FFFFFF#000000##000000
##DCD9551.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD145
Deuteranopia (green-blind)
#ECD65D
Tritanopia (blue-blind)
#EBCCBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd955;
/* rgb */ color: rgb(220, 217, 85);
/* oklch */ color: oklch(86.3% 0.152 108.0);
Tailwind
colors: {
  custom: {
    50: '#eae48a',
    500: '#dcd955',
    950: '#000000',
  },
}
SCSS
$custom: #dcd955;
$custom-light: #eae48a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd955",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 85
  },
  "hsl": {
    "h": 58.667,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86323,
    "c": 0.15169,
    "h": 108
  },
  "luminance": 0.65497
}

Semantic roles & 50–950 ramp

primary
#DCD955
secondary
#393C9C
accent
#43E93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD955

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

Preview Lab → · Contrast checker → · Palette generator →

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