#786226#786226

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

Color values

HEX#786226
RGBrgb(120, 98, 38)
HSLhsl(44, 52%, 31%)
HSVhsv(44, 68%, 47%)
CMYKcmyk(0%, 18.3%, 68.3%, 52.9%)
CIE-LABlab(42.57, 1.59, 36.42)
CIE-LCHlch(42.57, 36.46, 87.50°)
OKLaboklab(50.55% 0.0017 0.0829)
OKLCHoklch(50.55% 0.083 88.8)
XYZxyz(12.4639, 12.8691, 3.6608)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786226 #263C78
analogous
#783926 #786226 #657826
triadic
#786226 #267862 #622678
tetradic
#786226 #267839 #263C78 #782665
square
#786226 #267839 #263C78 #782665
split-complementary
#786226 #266578 #392678
monochromatic
#1B1609 #4A3C17 #786226 #A68835 #C8A851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##786226#FFFFFF#000000##FFFFFF
##7862261.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)
#6D611F
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#825A55
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #786226;
/* rgb */ color: rgb(120, 98, 38);
/* oklch */ color: oklch(50.5% 0.083 88.8);
Tailwind
colors: {
  custom: {
    50: '#a28e63',
    500: '#786226',
    950: '#000000',
  },
}
SCSS
$custom: #786226;
$custom-light: #a28e63;
$custom-dark: #000000;
JSON
{
  "hex": "#786226",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 38
  },
  "hsl": {
    "h": 43.902,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5055,
    "c": 0.08288,
    "h": 88.8
  },
  "luminance": 0.12868
}

Semantic roles & 50–950 ramp

primary
#786226
secondary
#5068AA
accent
#73DB4C
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0C05
muted
#7F7D7A

Preview Lab

Preview with #786226

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

Preview Lab → · Contrast checker → · Palette generator →

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