#796222#796222

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

Color values

HEX#796222
RGBrgb(121, 98, 34)
HSLhsl(44, 56%, 30%)
HSVhsv(44, 72%, 47%)
CMYKcmyk(0%, 19%, 71.9%, 52.5%)
CIE-LABlab(42.64, 1.81, 38.46)
CIE-LCHlch(42.64, 38.50, 87.31°)
OKLaboklab(50.62% 0.0017 0.0864)
OKLCHoklch(50.62% 0.086 88.8)
XYZxyz(12.5423, 12.9166, 3.3456)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796222 #223979
analogous
#793622 #796222 #647922
triadic
#796222 #227962 #622279
tetradic
#796222 #227936 #223979 #792264
square
#796222 #227936 #223979 #792264
split-complementary
#796222 #226479 #362279
monochromatic
#191507 #493B15 #796222 #A9892F #CCA949

Accessibility & contrast

On white

5.86
#796222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#796222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796222
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796222#FFFFFF#000000##FFFFFF
##7962221.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D611A
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#835955
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #796222;
/* rgb */ color: rgb(121, 98, 34);
/* oklch */ color: oklch(50.6% 0.086 88.8);
Tailwind
colors: {
  custom: {
    50: '#a38e61',
    500: '#796222',
    950: '#000000',
  },
}
SCSS
$custom: #796222;
$custom-light: #a38e61;
$custom-dark: #000000;
JSON
{
  "hex": "#796222",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 34
  },
  "hsl": {
    "h": 44.138,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5062,
    "c": 0.08643,
    "h": 88.8
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#796222
secondary
#4B65AC
accent
#70DF48
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #796222

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

Preview Lab → · Contrast checker → · Palette generator →

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