#796237#796237

#796237 is a mid, moderate orange. Relative luminance 0.131; OKLCH L 50.9% C 0.067 H 81.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#796237
RGBrgb(121, 98, 55)
HSLhsl(39, 38%, 35%)
HSVhsv(39, 55%, 47%)
CMYKcmyk(0%, 19%, 54.5%, 52.5%)
CIE-LABlab(42.88, 3.45, 27.78)
CIE-LCHlch(42.88, 27.99, 82.92°)
OKLaboklab(50.89% 0.0094 0.0663)
OKLCHoklch(50.89% 0.067 81.9)
XYZxyz(12.9430, 13.0769, 5.4560)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796237 #374E79
analogous
#794137 #796237 #6F7937
triadic
#796237 #377962 #623779
tetradic
#796237 #377941 #374E79 #79376F
square
#796237 #377941 #374E79 #79376F
split-complementary
#796237 #376F79 #413779
monochromatic
#251E11 #4F4024 #796237 #A3844A #BDA16E

Accessibility & contrast

On white

5.81
#796237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#796237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796237
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796237#FFFFFF#000000##FFFFFF
##7962371.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6233
Deuteranopia (green-blind)
#716838
Tritanopia (blue-blind)
#825B58
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #796237;
/* rgb */ color: rgb(121, 98, 55);
/* oklch */ color: oklch(50.9% 0.067 81.9);
Tailwind
colors: {
  custom: {
    50: '#a28e6f',
    500: '#796237',
    950: '#000000',
  },
}
SCSS
$custom: #796237;
$custom-light: #a28e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#796237",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 55
  },
  "hsl": {
    "h": 39.091,
    "s": 37.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.50888,
    "c": 0.06698,
    "h": 81.9
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#796237
secondary
#667CA6
accent
#82CD5A
background
#FAF8F6
surface
#F4F0EC
border
#CECBC7
text
#0F0C07
muted
#7F7D7A

Preview Lab

Preview with #796237

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

Preview Lab → · Contrast checker → · Palette generator →

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