#DCC673#DCC673

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

Color values

HEX#DCC673
RGBrgb(220, 198, 115)
HSLhsl(47, 60%, 66%)
HSVhsv(47, 48%, 86%)
CMYKcmyk(0%, 10%, 47.7%, 13.7%)
CIE-LABlab(80.09, -3.15, 44.18)
CIE-LCHlch(80.09, 44.30, 94.08°)
OKLaboklab(82.73% -0.0092 0.106)
OKLCHoklch(82.73% 0.106 95)
XYZxyz(52.8054, 56.8437, 24.4067)
Luminance0.5684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC673 #7389DC
analogous
#DC9173 #DCC673 #BDDC73
triadic
#DCC673 #73DCC6 #C673DC
tetradic
#DCC673 #73DC91 #7389DC #DC73BD
square
#DCC673 #73DC91 #7389DC #DC73BD
split-complementary
#DCC673 #73BDDC #9173DC
monochromatic
#AA8F2B #D0B242 #DCC673 #E8DAA4 #F4EED5

Accessibility & contrast

On white

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

On black

12.37
#DCC673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC673
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC673#FFFFFF#000000##000000
##DCC6731.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C36C
Deuteranopia (green-blind)
#DBCA76
Tritanopia (blue-blind)
#EABBB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc673;
/* rgb */ color: rgb(220, 198, 115);
/* oklch */ color: oklch(82.7% 0.106 95.0);
Tailwind
colors: {
  custom: {
    50: '#e9d79d',
    500: '#dcc673',
    950: '#000000',
  },
}
SCSS
$custom: #dcc673;
$custom-light: #e9d79d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc673",
  "rgb": {
    "r": 220,
    "g": 198,
    "b": 115
  },
  "hsl": {
    "h": 47.429,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.82733,
    "c": 0.10641,
    "h": 95
  },
  "luminance": 0.56842
}

Semantic roles & 50–950 ramp

primary
#DCC673
secondary
#475CAD
accent
#41C81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC673

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

Preview Lab → · Contrast checker → · Palette generator →

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