#795C17#795C17

#795C17 is a mid, moderate orange. Relative luminance 0.118; OKLCH L 49.2% C 0.091 H 84.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#795C17
RGBrgb(121, 92, 23)
HSLhsl(42, 68%, 28%)
HSVhsv(42, 81%, 47%)
CMYKcmyk(0%, 24%, 81%, 52.5%)
CIE-LABlab(40.87, 4.79, 41.51)
CIE-LCHlch(40.87, 41.79, 83.42°)
OKLaboklab(49.2% 0.0089 0.0905)
OKLCHoklch(49.2% 0.091 84.4)
XYZxyz(11.8677, 11.7820, 2.4595)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795C17 #173479
analogous
#792B17 #795C17 #657917
triadic
#795C17 #17795C #5C1779
tetradic
#795C17 #17792B #173479 #791765
square
#795C17 #17792B #173479 #791765
split-complementary
#795C17 #176579 #2B1779
monochromatic
#1A1405 #46350D #795C17 #AC8321 #D8A732

Accessibility & contrast

On white

6.26
#795C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#795C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795C17
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795C17#FFFFFF#000000##FFFFFF
##795C171.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0A
Deuteranopia (green-blind)
#6F631A
Tritanopia (blue-blind)
#84534F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #795c17;
/* rgb */ color: rgb(121, 92, 23);
/* oklch */ color: oklch(49.2% 0.091 84.4);
Tailwind
colors: {
  custom: {
    50: '#a4895a',
    500: '#795c17',
    950: '#000000',
  },
}
SCSS
$custom: #795c17;
$custom-light: #a4895a;
$custom-dark: #000000;
JSON
{
  "hex": "#795c17",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 42.245,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49201,
    "c": 0.09098,
    "h": 84.4
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#795C17
secondary
#3E5FAE
accent
#70EB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #795C17

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

Preview Lab → · Contrast checker → · Palette generator →

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