#DCC156#DCC156

#DCC156 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.4% C 0.130 H 95.2°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#DCC156
RGBrgb(220, 193, 86)
HSLhsl(48, 66%, 60%)
HSVhsv(48, 61%, 86%)
CMYKcmyk(0%, 12.3%, 60.9%, 13.7%)
CIE-LABlab(78.48, -2.89, 56.09)
CIE-LCHlch(78.48, 56.16, 92.95°)
OKLaboklab(81.35% -0.0117 0.129)
OKLCHoklch(81.35% 0.13 95.2)
XYZxyz(50.2671, 54.0299, 16.5834)
Luminance0.5403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC156 #5671DC
analogous
#DC7E56 #DCC156 #B4DC56
triadic
#DCC156 #56DCC1 #C156DC
tetradic
#DCC156 #56DC7E #5671DC #DC56B4
square
#DCC156 #56DC7E #5671DC #DC56B4
split-complementary
#DCC156 #56B4DC #7E56DC
monochromatic
#988020 #CBAA2A #DCC156 #E6D489 #F1E6BB

Accessibility & contrast

On white

1.78
#DCC156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#DCC156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC156
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC156#FFFFFF#000000##000000
##DCC1561.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4B
Deuteranopia (green-blind)
#DAC65B
Tritanopia (blue-blind)
#ECB4AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc156;
/* rgb */ color: rgb(220, 193, 86);
/* oklch */ color: oklch(81.4% 0.130 95.2);
Tailwind
colors: {
  custom: {
    50: '#ead389',
    500: '#dcc156',
    950: '#000000',
  },
}
SCSS
$custom: #dcc156;
$custom-light: #ead389;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc156",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 86
  },
  "hsl": {
    "h": 47.91,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.81354,
    "c": 0.12954,
    "h": 95.2
  },
  "luminance": 0.54027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC156

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

Preview Lab → · Contrast checker → · Palette generator →

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