#796B42#796B42

#796B42 is a mid, moderate orange. Relative luminance 0.150; OKLCH L 53.1% C 0.061 H 91.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#796B42
RGBrgb(121, 107, 66)
HSLhsl(45, 29%, 37%)
HSVhsv(45, 45%, 47%)
CMYKcmyk(0%, 11.6%, 45.5%, 52.5%)
CIE-LABlab(45.60, -0.66, 24.96)
CIE-LCHlch(45.60, 24.97, 91.52°)
OKLaboklab(53.08% -0.0014 0.0608)
OKLCHoklch(53.08% 0.061 91.3)
XYZxyz(14.1266, 14.9742, 7.2994)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796B42 #425079
analogous
#795042 #796B42 #6C7942
triadic
#796B42 #42796B #6B4279
tetradic
#796B42 #427950 #425079 #79426C
square
#796B42 #427950 #425079 #79426C
split-complementary
#796B42 #426C79 #504279
monochromatic
#2A2517 #51482C #796B42 #A18E58 #B8A97D

Accessibility & contrast

On white

5.26
#796B42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#796B42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796B42
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796B42#FFFFFF#000000##FFFFFF
##796B421.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736A3F
Deuteranopia (green-blind)
#776E43
Tritanopia (blue-blind)
#816561
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #796b42;
/* rgb */ color: rgb(121, 107, 66);
/* oklch */ color: oklch(53.1% 0.061 91.3);
Tailwind
colors: {
  custom: {
    50: '#a19577',
    500: '#796b42',
    950: '#000000',
  },
}
SCSS
$custom: #796b42;
$custom-light: #a19577;
$custom-dark: #000000;
JSON
{
  "hex": "#796b42",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 66
  },
  "hsl": {
    "h": 44.727,
    "s": 29.412,
    "l": 36.667
  },
  "oklch": {
    "l": 0.53084,
    "c": 0.06081,
    "h": 91.3
  },
  "luminance": 0.14974
}

Semantic roles & 50–950 ramp

primary
#796B42
secondary
#7480A3
accent
#7BC662
background
#FAF9F7
surface
#F3F1ED
border
#CDCBC8
text
#0F0D08
muted
#7F7E7B

Preview Lab

Preview with #796B42

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

Preview Lab → · Contrast checker → · Palette generator →

#796B42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva