#795B1F#795B1F

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

Color values

HEX#795B1F
RGBrgb(121, 91, 31)
HSLhsl(40, 59%, 30%)
HSVhsv(40, 74%, 47%)
CMYKcmyk(0%, 24.8%, 74.4%, 52.5%)
CIE-LABlab(40.65, 5.78, 37.82)
CIE-LCHlch(40.65, 38.25, 81.32°)
OKLaboklab(49.05% 0.0128 0.0845)
OKLCHoklch(49.05% 0.085 81.4)
XYZxyz(11.8743, 11.6469, 2.9187)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795B1F #1F3D79
analogous
#792E1F #795B1F #6A791F
triadic
#795B1F #1F795B #5B1F79
tetradic
#795B1F #1F792E #1F3D79 #791F6A
square
#795B1F #1F792E #1F3D79 #791F6A
split-complementary
#795B1F #1F6A79 #2E1F79
monochromatic
#181206 #483613 #795B1F #AA802B #CFA043

Accessibility & contrast

On white

6.31
#795B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#795B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795B1F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795B1F#FFFFFF#000000##FFFFFF
##795B1F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B17
Deuteranopia (green-blind)
#6E6321
Tritanopia (blue-blind)
#84524F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #795b1f;
/* rgb */ color: rgb(121, 91, 31);
/* oklch */ color: oklch(49.0% 0.085 81.4);
Tailwind
colors: {
  custom: {
    50: '#a3895e',
    500: '#795b1f',
    950: '#000000',
  },
}
SCSS
$custom: #795b1f;
$custom-light: #a3895e;
$custom-dark: #000000;
JSON
{
  "hex": "#795b1f",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 31
  },
  "hsl": {
    "h": 40,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49049,
    "c": 0.08543,
    "h": 81.4
  },
  "luminance": 0.11646
}

Semantic roles & 50–950 ramp

primary
#795B1F
secondary
#4769AC
accent
#7AE245
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100B05
muted
#7F7C79

Preview Lab

Preview with #795B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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