#DCB340#DCB340

#DCB340 is a light, vivid orange. Relative luminance 0.478; OKLCH L 78.3% C 0.137 H 88.7°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#DCB340
RGBrgb(220, 179, 64)
HSLhsl(44, 69%, 56%)
HSVhsv(44, 71%, 86%)
CMYKcmyk(0%, 18.6%, 70.9%, 13.7%)
CIE-LABlab(74.72, 3.14, 61.52)
CIE-LCHlch(74.72, 61.60, 87.08°)
OKLaboklab(78.33% 0.003 0.1371)
OKLCHoklch(78.33% 0.137 88.7)
XYZxyz(46.5634, 47.8289, 11.6289)
Luminance0.4783 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB340 #4069DC
analogous
#DC6540 #DCB340 #B7DC40
triadic
#DCB340 #40DCB3 #B340DC
tetradic
#DCB340 #40DC65 #4069DC #DC40B7
square
#DCB340 #40DC65 #4069DC #DC40B7
split-complementary
#DCB340 #40B7DC #6540DC
monochromatic
#896B19 #BC9423 #DCB340 #E5C874 #EFDCA7

Accessibility & contrast

On white

1.99
#DCB340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#DCB340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCB340
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCB340#FFFFFF#000000##000000
##DCB3401.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B130
Deuteranopia (green-blind)
#D1BD46
Tritanopia (blue-blind)
#EEA49C
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dcb340;
/* rgb */ color: rgb(220, 179, 64);
/* oklch */ color: oklch(78.3% 0.137 88.7);
Tailwind
colors: {
  custom: {
    50: '#ebc97b',
    500: '#dcb340',
    950: '#000000',
  },
}
SCSS
$custom: #dcb340;
$custom-light: #ebc97b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb340",
  "rgb": {
    "r": 220,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 44.231,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78326,
    "c": 0.13711,
    "h": 88.7
  },
  "luminance": 0.47826
}

Semantic roles & 50–950 ramp

primary
#DCB340
secondary
#9BADDC
accent
#6AEC3C
background
#FFFCF7
surface
#FEF8EE
border
#D6D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DCB340

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

Preview Lab → · Contrast checker → · Palette generator →

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