#786221#786221

#786221 is a mid, moderate orange. Relative luminance 0.128; OKLCH L 50.5% C 0.087 H 89.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#786221
RGBrgb(120, 98, 33)
HSLhsl(45, 57%, 30%)
HSVhsv(45, 73%, 47%)
CMYKcmyk(0%, 18.3%, 72.5%, 52.9%)
CIE-LABlab(42.52, 1.27, 38.77)
CIE-LCHlch(42.52, 38.79, 88.12°)
OKLaboklab(50.5% 0.0001 0.0869)
OKLCHoklch(50.5% 0.087 89.9)
XYZxyz(12.3886, 12.8390, 3.2642)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786221 #213778
analogous
#783721 #786221 #627821
triadic
#786221 #217862 #622178
tetradic
#786221 #217837 #213778 #782162
square
#786221 #217837 #213778 #782162
split-complementary
#786221 #216278 #372178
monochromatic
#181407 #483B14 #786221 #A8892E #CCAB47

Accessibility & contrast

On white

5.89
#786221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#786221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786221
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786221#FFFFFF#000000##FFFFFF
##7862211.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6118
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#825A55
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #786221;
/* rgb */ color: rgb(120, 98, 33);
/* oklch */ color: oklch(50.5% 0.087 89.9);
Tailwind
colors: {
  custom: {
    50: '#a28e60',
    500: '#786221',
    950: '#000000',
  },
}
SCSS
$custom: #786221;
$custom-light: #a28e60;
$custom-dark: #000000;
JSON
{
  "hex": "#786221",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 44.828,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50499,
    "c": 0.08691,
    "h": 89.9
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#786221
secondary
#4A62AB
accent
#6EE048
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #786221

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

Preview Lab → · Contrast checker → · Palette generator →

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