#DCC47B#DCC47B

#DCC47B is a very light, moderate yellow. Relative luminance 0.561; OKLCH L 82.4% C 0.096 H 91.9°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#DCC47B
RGBrgb(220, 196, 123)
HSLhsl(45, 58%, 67%)
HSVhsv(45, 44%, 86%)
CMYKcmyk(0%, 10.9%, 44.1%, 13.7%)
CIE-LABlab(79.69, -1.33, 39.66)
CIE-LCHlch(79.69, 39.68, 91.93°)
OKLaboklab(82.45% -0.0031 0.0964)
OKLCHoklch(82.45% 0.096 91.9)
XYZxyz(52.8318, 56.1276, 26.7859)
Luminance0.5613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC47B #7B93DC
analogous
#DC947B #DCC47B #C3DC7B
triadic
#DCC47B #7BDCC4 #C47BDC
tetradic
#DCC47B #7BDC94 #7B93DC #DC7BC3
square
#DCC47B #7BDC94 #7B93DC #DC7BC3
split-complementary
#DCC47B #7BC3DC #947BDC
monochromatic
#AE8F2E #CFAE4B #DCC47B #E9DAAB #F6EFDC

Accessibility & contrast

On white

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

On black

12.23
#DCC47B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC47B
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC47B#FFFFFF#000000##000000
##DCC47B1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C175
Deuteranopia (green-blind)
#D9C97E
Tritanopia (blue-blind)
#EAB9B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc47b;
/* rgb */ color: rgb(220, 196, 123);
/* oklch */ color: oklch(82.4% 0.096 91.9);
Tailwind
colors: {
  custom: {
    50: '#e8d5a2',
    500: '#dcc47b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc47b;
$custom-light: #e8d5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc47b",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 123
  },
  "hsl": {
    "h": 45.155,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.82449,
    "c": 0.0964,
    "h": 91.9
  },
  "luminance": 0.56126
}

Semantic roles & 50–950 ramp

primary
#DCC47B
secondary
#4B64B1
accent
#49C620
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC47B

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

Preview Lab → · Contrast checker → · Palette generator →

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