#DCC056#DCC056

#DCC056 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.2% C 0.129 H 94.6°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#DCC056
RGBrgb(220, 192, 86)
HSLhsl(47, 66%, 60%)
HSVhsv(47, 61%, 86%)
CMYKcmyk(0%, 12.7%, 60.9%, 13.7%)
CIE-LABlab(78.22, -2.37, 55.80)
CIE-LCHlch(78.22, 55.85, 92.44°)
OKLaboklab(81.15% -0.0102 0.1284)
OKLCHoklch(81.15% 0.129 94.6)
XYZxyz(50.0467, 53.5893, 16.5099)
Luminance0.5359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC056 #5672DC
analogous
#DC7D56 #DCC056 #B5DC56
triadic
#DCC056 #56DCC0 #C056DC
tetradic
#DCC056 #56DC7D #5672DC #DC56B5
square
#DCC056 #56DC7D #5672DC #DC56B5
split-complementary
#DCC056 #56B5DC #7D56DC
monochromatic
#987F20 #CBA92A #DCC056 #E6D389 #F1E6BB

Accessibility & contrast

On white

1.79
#DCC056 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#DCC056 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC056
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC056#FFFFFF#000000##000000
##DCC0561.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC4B
Deuteranopia (green-blind)
#D9C55B
Tritanopia (blue-blind)
#ECB3A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dcc056;
/* rgb */ color: rgb(220, 192, 86);
/* oklch */ color: oklch(81.2% 0.129 94.6);
Tailwind
colors: {
  custom: {
    50: '#ead289',
    500: '#dcc056',
    950: '#000000',
  },
}
SCSS
$custom: #dcc056;
$custom-light: #ead289;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc056",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 86
  },
  "hsl": {
    "h": 47.463,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.8115,
    "c": 0.12881,
    "h": 94.6
  },
  "luminance": 0.53587
}

Semantic roles & 50–950 ramp

primary
#DCC056
secondary
#3A4E9C
accent
#63E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC056

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

Preview Lab → · Contrast checker → · Palette generator →

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