#DCC956#DCC956

#DCC956 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.0% C 0.136 H 100.0°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#DCC956
RGBrgb(220, 201, 86)
HSLhsl(51, 66%, 60%)
HSVhsv(51, 61%, 86%)
CMYKcmyk(0%, 8.6%, 60.9%, 13.7%)
CIE-LABlab(80.55, -7.01, 58.38)
CIE-LCHlch(80.55, 58.80, 96.85°)
OKLaboklab(82.99% -0.0235 0.1339)
OKLCHoklch(82.99% 0.136 100)
XYZxyz(52.0836, 57.6630, 17.1889)
Luminance0.5766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC956 #5669DC
analogous
#DC8656 #DCC956 #ACDC56
triadic
#DCC956 #56DCC9 #C956DC
tetradic
#DCC956 #56DC86 #5669DC #DC56AC
square
#DCC956 #56DC86 #5669DC #DC56AC
split-complementary
#DCC956 #56ACDC #8656DC
monochromatic
#988720 #CBB42A #DCC956 #E6D989 #F1E9BB

Accessibility & contrast

On white

1.68
#DCC956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#DCC956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC956
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC956#FFFFFF#000000##000000
##DCC9561.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC449
Deuteranopia (green-blind)
#E0CB5C
Tritanopia (blue-blind)
#ECBCB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc956;
/* rgb */ color: rgb(220, 201, 86);
/* oklch */ color: oklch(83.0% 0.136 100.0);
Tailwind
colors: {
  custom: {
    50: '#ead98a',
    500: '#dcc956',
    950: '#000000',
  },
}
SCSS
$custom: #dcc956;
$custom-light: #ead98a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc956",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 51.493,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.82995,
    "c": 0.13594,
    "h": 100
  },
  "luminance": 0.57661
}

Semantic roles & 50–950 ramp

primary
#DCC956
secondary
#3A489C
accent
#57E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC956

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

Preview Lab → · Contrast checker → · Palette generator →

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