#DCC474#DCC474

#DCC474 is a very light, moderate yellow. Relative luminance 0.560; OKLCH L 82.3% C 0.104 H 93.2°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#DCC474
RGBrgb(220, 196, 116)
HSLhsl(46, 60%, 66%)
HSVhsv(46, 47%, 86%)
CMYKcmyk(0%, 10.9%, 47.3%, 13.7%)
CIE-LABlab(79.59, -2.02, 43.07)
CIE-LCHlch(79.59, 43.11, 92.68°)
OKLaboklab(82.34% -0.0058 0.1036)
OKLCHoklch(82.34% 0.104 93.2)
XYZxyz(52.4091, 55.9586, 24.5601)
Luminance0.5596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC474 #748CDC
analogous
#DC9074 #DCC474 #C0DC74
triadic
#DCC474 #74DCC4 #C474DC
tetradic
#DCC474 #74DC90 #748CDC #DC74C0
square
#DCC474 #74DC90 #748CDC #DC74C0
split-complementary
#DCC474 #74C0DC #9074DC
monochromatic
#AB8D2B #D0AF43 #DCC474 #E8D9A5 #F5EED6

Accessibility & contrast

On white

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

On black

12.19
#DCC474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC474
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC474#FFFFFF#000000##000000
##DCC4741.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C16D
Deuteranopia (green-blind)
#DAC877
Tritanopia (blue-blind)
#EAB9B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc474;
/* rgb */ color: rgb(220, 196, 116);
/* oklch */ color: oklch(82.3% 0.104 93.2);
Tailwind
colors: {
  custom: {
    50: '#e9d59d',
    500: '#dcc474',
    950: '#000000',
  },
}
SCSS
$custom: #dcc474;
$custom-light: #e9d59d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc474",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 116
  },
  "hsl": {
    "h": 46.154,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.82342,
    "c": 0.10374,
    "h": 93.2
  },
  "luminance": 0.55956
}

Semantic roles & 50–950 ramp

primary
#DCC474
secondary
#475FAD
accent
#45C71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC474

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

Preview Lab → · Contrast checker → · Palette generator →

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