#796020#796020

#796020 is a mid, moderate orange. Relative luminance 0.125; OKLCH L 50.2% C 0.087 H 87.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#796020
RGBrgb(121, 96, 32)
HSLhsl(43, 58%, 30%)
HSVhsv(43, 74%, 47%)
CMYKcmyk(0%, 20.7%, 73.6%, 52.5%)
CIE-LABlab(42.06, 2.87, 38.79)
CIE-LCHlch(42.06, 38.89, 85.77°)
OKLaboklab(50.16% 0.0045 0.0867)
OKLCHoklch(50.16% 0.087 87)
XYZxyz(12.3294, 12.5358, 3.1365)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796020 #203979
analogous
#793320 #796020 #667920
triadic
#796020 #207960 #602079
tetradic
#796020 #207933 #203979 #792066
square
#796020 #207933 #203979 #792066
split-complementary
#796020 #206679 #332079
monochromatic
#181306 #493A13 #796020 #A9862D #CEA845

Accessibility & contrast

On white

5.99
#796020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#796020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796020
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796020#FFFFFF#000000##FFFFFF
##7960201.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F17
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#835753
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #796020;
/* rgb */ color: rgb(121, 96, 32);
/* oklch */ color: oklch(50.2% 0.087 87.0);
Tailwind
colors: {
  custom: {
    50: '#a38c5f',
    500: '#796020',
    950: '#000000',
  },
}
SCSS
$custom: #796020;
$custom-light: #a38c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#796020",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 32
  },
  "hsl": {
    "h": 43.146,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.50156,
    "c": 0.08684,
    "h": 87
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#796020
secondary
#4965AC
accent
#72E146
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #796020

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

Preview Lab → · Contrast checker → · Palette generator →

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