#795917#795917

#795917 is a mid, moderate orange. Relative luminance 0.113; OKLCH L 48.5% C 0.090 H 81.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#795917
RGBrgb(121, 89, 23)
HSLhsl(40, 68%, 28%)
HSVhsv(40, 81%, 47%)
CMYKcmyk(0%, 26.4%, 81%, 52.5%)
CIE-LABlab(40.04, 6.57, 40.74)
CIE-LCHlch(40.04, 41.26, 80.83°)
OKLaboklab(48.55% 0.0141 0.0889)
OKLCHoklch(48.55% 0.09 81)
XYZxyz(11.6130, 11.2725, 2.3746)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795917 #173779
analogous
#792817 #795917 #687917
triadic
#795917 #177959 #591779
tetradic
#795917 #177928 #173779 #791768
square
#795917 #177928 #173779 #791768
split-complementary
#795917 #176879 #281779
monochromatic
#1A1305 #46330D #795917 #AC7F21 #D8A232

Accessibility & contrast

On white

6.45
#795917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#795917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795917
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795917#FFFFFF#000000##FFFFFF
##7959171.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0B
Deuteranopia (green-blind)
#6D621A
Tritanopia (blue-blind)
#84504C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #795917;
/* rgb */ color: rgb(121, 89, 23);
/* oklch */ color: oklch(48.5% 0.090 81.0);
Tailwind
colors: {
  custom: {
    50: '#a4875a',
    500: '#795917',
    950: '#000000',
  },
}
SCSS
$custom: #795917;
$custom-light: #a4875a;
$custom-dark: #000000;
JSON
{
  "hex": "#795917",
  "rgb": {
    "r": 121,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 40.408,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48548,
    "c": 0.08999,
    "h": 81
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#795917
secondary
#3E62AE
accent
#76EB3D
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #795917

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

Preview Lab → · Contrast checker → · Palette generator →

#795917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva