#DCA840#DCA840

#DCA840 is a light, vivid orange. Relative luminance 0.436; OKLCH L 76.2% C 0.133 H 81.4°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#DCA840
RGBrgb(220, 168, 64)
HSLhsl(40, 69%, 56%)
HSVhsv(40, 71%, 86%)
CMYKcmyk(0%, 23.6%, 70.9%, 13.7%)
CIE-LABlab(71.96, 8.97, 58.72)
CIE-LCHlch(71.96, 59.40, 81.32°)
OKLaboklab(76.16% 0.0199 0.1311)
OKLCHoklch(76.16% 0.133 81.4)
XYZxyz(44.4460, 43.5943, 10.9231)
Luminance0.4359 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA840 #4074DC
analogous
#DC5A40 #DCA840 #C2DC40
triadic
#DCA840 #40DCA8 #A840DC
tetradic
#DCA840 #40DC5A #4074DC #DC40C2
square
#DCA840 #40DC5A #4074DC #DC40C2
split-complementary
#DCA840 #40C2DC #5A40DC
monochromatic
#896319 #BC8923 #DCA840 #E5C074 #EFD7A7

Accessibility & contrast

On white

2.16
#DCA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#DCA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA840
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA840#FFFFFF#000000##000000
##DCA8401.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA932
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#EF9893
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dca840;
/* rgb */ color: rgb(220, 168, 64);
/* oklch */ color: oklch(76.2% 0.133 81.4);
Tailwind
colors: {
  custom: {
    50: '#ebc17a',
    500: '#dca840',
    950: '#000000',
  },
}
SCSS
$custom: #dca840;
$custom-light: #ebc17a;
$custom-dark: #000000;
JSON
{
  "hex": "#dca840",
  "rgb": {
    "r": 220,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 40,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76156,
    "c": 0.13264,
    "h": 81.4
  },
  "luminance": 0.43591
}

Semantic roles & 50–950 ramp

primary
#DCA840
secondary
#9BB1DC
accent
#77EC3C
background
#FFFBF7
surface
#FEF7EE
border
#D6D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #DCA840

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

Preview Lab → · Contrast checker → · Palette generator →

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