#DCC46F#DCC46F

#DCC46F is a very light, moderate yellow. Relative luminance 0.558; OKLCH L 82.3% C 0.109 H 94.0°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#DCC46F
RGBrgb(220, 196, 111)
HSLhsl(47, 61%, 65%)
HSVhsv(47, 50%, 86%)
CMYKcmyk(0%, 10.9%, 49.5%, 13.7%)
CIE-LABlab(79.53, -2.48, 45.47)
CIE-LCHlch(79.53, 45.54, 93.12°)
OKLaboklab(82.27% -0.0077 0.1086)
OKLCHoklch(82.27% 0.109 94)
XYZxyz(52.1261, 55.8454, 23.0694)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC46F #6F87DC
analogous
#DC8E6F #DCC46F #BEDC6F
triadic
#DCC46F #6FDCC4 #C46FDC
tetradic
#DCC46F #6FDC8E #6F87DC #DC6FBE
square
#DCC46F #6FDC8E #6F87DC #DC6FBE
split-complementary
#DCC46F #6FBEDC #8E6FDC
monochromatic
#A88C29 #D0B03E #DCC46F #E8D8A0 #F4ECD1

Accessibility & contrast

On white

1.73
#DCC46F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#DCC46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC46F
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC46F#FFFFFF#000000##000000
##DCC46F1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C168
Deuteranopia (green-blind)
#DAC872
Tritanopia (blue-blind)
#EBB8B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc46f;
/* rgb */ color: rgb(220, 196, 111);
/* oklch */ color: oklch(82.3% 0.109 94.0);
Tailwind
colors: {
  custom: {
    50: '#e9d59a',
    500: '#dcc46f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc46f;
$custom-light: #e9d59a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc46f",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 111
  },
  "hsl": {
    "h": 46.789,
    "s": 60.894,
    "l": 64.902
  },
  "oklch": {
    "l": 0.8227,
    "c": 0.10884,
    "h": 94
  },
  "luminance": 0.55843
}

Semantic roles & 50–950 ramp

primary
#DCC46F
secondary
#455BAB
accent
#43C91D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC46F

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

Preview Lab → · Contrast checker → · Palette generator →

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