#796240#796240

#796240 is a mid, muted orange. Relative luminance 0.132; OKLCH L 51.0% C 0.057 H 76.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#796240
RGBrgb(121, 98, 64)
HSLhsl(36, 31%, 36%)
HSVhsv(36, 47%, 47%)
CMYKcmyk(0%, 19%, 47.1%, 52.5%)
CIE-LABlab(43.02, 4.39, 22.81)
CIE-LCHlch(43.02, 23.23, 79.10°)
OKLaboklab(51.04% 0.0132 0.0558)
OKLCHoklch(51.04% 0.057 76.7)
XYZxyz(13.1787, 13.1712, 6.6976)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796240 #405779
analogous
#794640 #796240 #747940
triadic
#796240 #407962 #624079
tetradic
#796240 #407946 #405779 #794074
square
#796240 #407946 #405779 #794074
split-complementary
#796240 #407479 #464079
monochromatic
#292116 #51422B #796240 #A18255 #B9A07A

Accessibility & contrast

On white

5.78
#796240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#796240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796240
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796240#FFFFFF#000000##FFFFFF
##7962401.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B623D
Deuteranopia (green-blind)
#716841
Tritanopia (blue-blind)
#825C59
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #796240;
/* rgb */ color: rgb(121, 98, 64);
/* oklch */ color: oklch(51.0% 0.057 76.7);
Tailwind
colors: {
  custom: {
    50: '#a18e75',
    500: '#796240',
    950: '#000000',
  },
}
SCSS
$custom: #796240;
$custom-light: #a18e75;
$custom-dark: #000000;
JSON
{
  "hex": "#796240",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 64
  },
  "hsl": {
    "h": 35.789,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.51045,
    "c": 0.05732,
    "h": 76.7
  },
  "luminance": 0.1317
}

Semantic roles & 50–950 ramp

primary
#796240
secondary
#7186A4
accent
#8AC761
background
#FAF8F7
surface
#F3F0ED
border
#CDCBC8
text
#0F0C08
muted
#7F7D7B

Preview Lab

Preview with #796240

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

Preview Lab → · Contrast checker → · Palette generator →

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