#795B17#795B17

#795B17 is a mid, moderate orange. Relative luminance 0.116; OKLCH L 49.0% C 0.091 H 83.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#795B17
RGBrgb(121, 91, 23)
HSLhsl(42, 68%, 28%)
HSVhsv(42, 81%, 47%)
CMYKcmyk(0%, 24.8%, 81%, 52.5%)
CIE-LABlab(40.59, 5.38, 41.25)
CIE-LCHlch(40.59, 41.60, 82.57°)
OKLaboklab(48.98% 0.0106 0.09)
OKLCHoklch(48.98% 0.091 83.3)
XYZxyz(11.7817, 11.6099, 2.4308)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795B17 #173579
analogous
#792A17 #795B17 #667917
triadic
#795B17 #17795B #5B1779
tetradic
#795B17 #17792A #173579 #791766
square
#795B17 #17792A #173579 #791766
split-complementary
#795B17 #176679 #2A1779
monochromatic
#1A1305 #46340D #795B17 #AC8221 #D8A532

Accessibility & contrast

On white

6.32
#795B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#795B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795B17
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795B17#FFFFFF#000000##FFFFFF
##795B171.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0B
Deuteranopia (green-blind)
#6F631A
Tritanopia (blue-blind)
#84524E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #795b17;
/* rgb */ color: rgb(121, 91, 23);
/* oklch */ color: oklch(49.0% 0.091 83.3);
Tailwind
colors: {
  custom: {
    50: '#a4895a',
    500: '#795b17',
    950: '#000000',
  },
}
SCSS
$custom: #795b17;
$custom-light: #a4895a;
$custom-dark: #000000;
JSON
{
  "hex": "#795b17",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 41.633,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48983,
    "c": 0.09061,
    "h": 83.3
  },
  "luminance": 0.11609
}

Semantic roles & 50–950 ramp

primary
#795B17
secondary
#3E60AE
accent
#72EB3D
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #795B17

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

Preview Lab → · Contrast checker → · Palette generator →

#795B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva