#786223#786223

#786223 is a mid, moderate orange. Relative luminance 0.129; OKLCH L 50.5% C 0.085 H 89.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#786223
RGBrgb(120, 98, 35)
HSLhsl(44, 55%, 30%)
HSVhsv(44, 71%, 47%)
CMYKcmyk(0%, 18.3%, 70.8%, 52.9%)
CIE-LABlab(42.54, 1.39, 37.85)
CIE-LCHlch(42.54, 37.87, 87.89°)
OKLaboklab(50.52% 0.0007 0.0854)
OKLCHoklch(50.52% 0.085 89.5)
XYZxyz(12.4174, 12.8505, 3.4161)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786223 #233978
analogous
#783823 #786223 #637823
triadic
#786223 #237862 #622378
tetradic
#786223 #237838 #233978 #782363
square
#786223 #237838 #233978 #782363
split-complementary
#786223 #236378 #382378
monochromatic
#191507 #493B15 #786223 #A78931 #CAA94B

Accessibility & contrast

On white

5.88
#786223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #786223
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786223#FFFFFF#000000##FFFFFF
##7862231.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #786223;
/* rgb */ color: rgb(120, 98, 35);
/* oklch */ color: oklch(50.5% 0.085 89.5);
Tailwind
colors: {
  custom: {
    50: '#a28e61',
    500: '#786223',
    950: '#000000',
  },
}
SCSS
$custom: #786223;
$custom-light: #a28e61;
$custom-dark: #000000;
JSON
{
  "hex": "#786223",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 35
  },
  "hsl": {
    "h": 44.471,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50519,
    "c": 0.08535,
    "h": 89.5
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#786223
secondary
#4C65AB
accent
#70DE4A
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #786223

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

Preview Lab → · Contrast checker → · Palette generator →

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