#DCAB40#DCAB40

#DCAB40 is a light, vivid orange. Relative luminance 0.447; OKLCH L 76.7% C 0.134 H 83.4°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#DCAB40
RGBrgb(220, 171, 64)
HSLhsl(41, 69%, 56%)
HSVhsv(41, 71%, 86%)
CMYKcmyk(0%, 22.3%, 70.9%, 13.7%)
CIE-LABlab(72.70, 7.37, 59.48)
CIE-LCHlch(72.70, 59.94, 82.93°)
OKLaboklab(76.74% 0.0153 0.1328)
OKLCHoklch(76.74% 0.134 83.4)
XYZxyz(45.0063, 44.7148, 11.1098)
Luminance0.4471 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCAB40 #4071DC
analogous
#DC5D40 #DCAB40 #BFDC40
triadic
#DCAB40 #40DCAB #AB40DC
tetradic
#DCAB40 #40DC5D #4071DC #DC40BF
square
#DCAB40 #40DC5D #4071DC #DC40BF
split-complementary
#DCAB40 #40BFDC #5D40DC
monochromatic
#896619 #BC8C23 #DCAB40 #E5C274 #EFD8A7

Accessibility & contrast

On white

2.11
#DCAB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#DCAB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCAB40
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCAB40#FFFFFF#000000##000000
##DCAB401.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB32
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#EE9C95
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #dcab40;
/* rgb */ color: rgb(220, 171, 64);
/* oklch */ color: oklch(76.7% 0.134 83.4);
Tailwind
colors: {
  custom: {
    50: '#ebc37b',
    500: '#dcab40',
    950: '#000000',
  },
}
SCSS
$custom: #dcab40;
$custom-light: #ebc37b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcab40",
  "rgb": {
    "r": 220,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 41.154,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76742,
    "c": 0.13363,
    "h": 83.4
  },
  "luminance": 0.44712
}

Semantic roles & 50–950 ramp

primary
#DCAB40
secondary
#9BB0DC
accent
#73EC3C
background
#FFFBF7
surface
#FEF7EE
border
#D6D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #DCAB40

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

Preview Lab → · Contrast checker → · Palette generator →

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