#795D17#795D17

#795D17 is a mid, moderate orange. Relative luminance 0.120; OKLCH L 49.4% C 0.091 H 85.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#795D17
RGBrgb(121, 93, 23)
HSLhsl(43, 68%, 28%)
HSVhsv(43, 81%, 47%)
CMYKcmyk(0%, 23.1%, 81%, 52.5%)
CIE-LABlab(41.15, 4.20, 41.77)
CIE-LCHlch(41.15, 41.98, 84.26°)
OKLaboklab(49.42% 0.0072 0.0911)
OKLCHoklch(49.42% 0.091 85.5)
XYZxyz(11.9549, 11.9564, 2.4886)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795D17 #173379
analogous
#792C17 #795D17 #647917
triadic
#795D17 #17795D #5D1779
tetradic
#795D17 #17792C #173379 #791764
square
#795D17 #17792C #173379 #791764
split-complementary
#795D17 #176479 #2C1779
monochromatic
#1A1405 #46350D #795D17 #AC8521 #D8A932

Accessibility & contrast

On white

6.19
#795D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#795D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795D17
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795D17#FFFFFF#000000##FFFFFF
##795D171.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0A
Deuteranopia (green-blind)
#70641B
Tritanopia (blue-blind)
#84544F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #795d17;
/* rgb */ color: rgb(121, 93, 23);
/* oklch */ color: oklch(49.4% 0.091 85.5);
Tailwind
colors: {
  custom: {
    50: '#a48a5a',
    500: '#795d17',
    950: '#000000',
  },
}
SCSS
$custom: #795d17;
$custom-light: #a48a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#795d17",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 42.857,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4942,
    "c": 0.09138,
    "h": 85.5
  },
  "luminance": 0.11956
}

Semantic roles & 50–950 ramp

primary
#795D17
secondary
#3E5EAE
accent
#6FEB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #795D17

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

Preview Lab → · Contrast checker → · Palette generator →

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