#DCC56B#DCC56B

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

Color values

HEX#DCC56B
RGBrgb(220, 197, 107)
HSLhsl(48, 62%, 64%)
HSVhsv(48, 51%, 86%)
CMYKcmyk(0%, 10.5%, 51.4%, 13.7%)
CIE-LABlab(79.73, -3.35, 47.68)
CIE-LCHlch(79.73, 47.80, 94.02°)
OKLaboklab(82.42% -0.0106 0.1131)
OKLCHoklch(82.42% 0.114 95.4)
XYZxyz(52.1371, 56.2119, 22.0107)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC56B #6B82DC
analogous
#DC8D6B #DCC56B #BBDC6B
triadic
#DCC56B #6BDCC5 #C56BDC
tetradic
#DCC56B #6BDC8D #6B82DC #DC6BBB
square
#DCC56B #6BDC8D #6B82DC #DC6BBB
split-complementary
#DCC56B #6BBBDC #8D6BDC
monochromatic
#A58C27 #D0B23A #DCC56B #E8D89C #F3ECCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC56B#FFFFFF#000000##000000
##DCC56B1.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)
#D5C163
Deuteranopia (green-blind)
#DBC96F
Tritanopia (blue-blind)
#EBB9B0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dcc56b;
/* rgb */ color: rgb(220, 197, 107);
/* oklch */ color: oklch(82.4% 0.114 95.4);
Tailwind
colors: {
  custom: {
    50: '#e9d697',
    500: '#dcc56b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc56b;
$custom-light: #e9d697;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc56b",
  "rgb": {
    "r": 220,
    "g": 197,
    "b": 107
  },
  "hsl": {
    "h": 47.788,
    "s": 61.749,
    "l": 64.118
  },
  "oklch": {
    "l": 0.82419,
    "c": 0.11361,
    "h": 95.4
  },
  "luminance": 0.5621
}

Semantic roles & 50–950 ramp

primary
#DCC56B
secondary
#4357A8
accent
#3FC91C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC56B

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

Preview Lab → · Contrast checker → · Palette generator →

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