#DCC56A#DCC56A

#DCC56A is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.4% C 0.115 H 95.5°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#DCC56A
RGBrgb(220, 197, 106)
HSLhsl(48, 62%, 64%)
HSVhsv(48, 52%, 86%)
CMYKcmyk(0%, 10.5%, 51.8%, 13.7%)
CIE-LABlab(79.72, -3.44, 48.15)
CIE-LCHlch(79.72, 48.27, 94.08°)
OKLaboklab(82.41% -0.011 0.1141)
OKLCHoklch(82.41% 0.115 95.5)
XYZxyz(52.0848, 56.1909, 21.7353)
Luminance0.5619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC56A #6A81DC
analogous
#DC8C6A #DCC56A #BADC6A
triadic
#DCC56A #6ADCC5 #C56ADC
tetradic
#DCC56A #6ADC8C #6A81DC #DC6ABA
square
#DCC56A #6ADC8C #6A81DC #DC6ABA
split-complementary
#DCC56A #6ABADC #8C6ADC
monochromatic
#A58B27 #D0B238 #DCC56A #E8D89C #F3ECCD

Accessibility & contrast

On white

1.72
#DCC56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#DCC56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC56A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC56A#FFFFFF#000000##000000
##DCC56A1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C162
Deuteranopia (green-blind)
#DBC96E
Tritanopia (blue-blind)
#EBB9B0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dcc56a;
/* rgb */ color: rgb(220, 197, 106);
/* oklch */ color: oklch(82.4% 0.115 95.5);
Tailwind
colors: {
  custom: {
    50: '#e9d697',
    500: '#dcc56a',
    950: '#000000',
  },
}
SCSS
$custom: #dcc56a;
$custom-light: #e9d697;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc56a",
  "rgb": {
    "r": 220,
    "g": 197,
    "b": 106
  },
  "hsl": {
    "h": 47.895,
    "s": 61.957,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82405,
    "c": 0.11459,
    "h": 95.5
  },
  "luminance": 0.56189
}

Semantic roles & 50–950 ramp

primary
#DCC56A
secondary
#4257A8
accent
#3FCA1C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC56A

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

Preview Lab → · Contrast checker → · Palette generator →

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