#DCC671#DCC671

#DCC671 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.7% C 0.108 H 95.3°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#DCC671
RGBrgb(220, 198, 113)
HSLhsl(48, 60%, 65%)
HSVhsv(48, 49%, 86%)
CMYKcmyk(0%, 10%, 48.6%, 13.7%)
CIE-LABlab(80.07, -3.33, 45.14)
CIE-LCHlch(80.07, 45.27, 94.22°)
OKLaboklab(82.71% -0.0099 0.108)
OKLCHoklch(82.71% 0.108 95.3)
XYZxyz(52.6916, 56.7982, 23.8072)
Luminance0.5680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC671 #7187DC
analogous
#DC9171 #DCC671 #BCDC71
triadic
#DCC671 #71DCC6 #C671DC
tetradic
#DCC671 #71DC91 #7187DC #DC71BC
square
#DCC671 #71DC91 #7187DC #DC71BC
split-complementary
#DCC671 #71BCDC #9171DC
monochromatic
#A98F2A #D0B240 #DCC671 #E8DAA2 #F4EDD3

Accessibility & contrast

On white

1.70
#DCC671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#DCC671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC671
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC671#FFFFFF#000000##000000
##DCC6711.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C26A
Deuteranopia (green-blind)
#DBCA74
Tritanopia (blue-blind)
#EABAB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc671;
/* rgb */ color: rgb(220, 198, 113);
/* oklch */ color: oklch(82.7% 0.108 95.3);
Tailwind
colors: {
  custom: {
    50: '#e9d79b',
    500: '#dcc671',
    950: '#000000',
  },
}
SCSS
$custom: #dcc671;
$custom-light: #e9d79b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc671",
  "rgb": {
    "r": 220,
    "g": 198,
    "b": 113
  },
  "hsl": {
    "h": 47.664,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.82705,
    "c": 0.10846,
    "h": 95.3
  },
  "luminance": 0.56796
}

Semantic roles & 50–950 ramp

primary
#DCC671
secondary
#465BAC
accent
#40C81D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC671

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

Preview Lab → · Contrast checker → · Palette generator →

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