#795A17#795A17

#795A17 is a mid, moderate orange. Relative luminance 0.114; OKLCH L 48.8% C 0.090 H 82.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#795A17
RGBrgb(121, 90, 23)
HSLhsl(41, 68%, 28%)
HSVhsv(41, 81%, 47%)
CMYKcmyk(0%, 25.6%, 81%, 52.5%)
CIE-LABlab(40.31, 5.98, 40.99)
CIE-LCHlch(40.31, 41.43, 81.70°)
OKLaboklab(48.77% 0.0124 0.0894)
OKLCHoklch(48.77% 0.09 82.1)
XYZxyz(11.6968, 11.4400, 2.4025)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795A17 #173679
analogous
#792917 #795A17 #677917
triadic
#795A17 #17795A #5A1779
tetradic
#795A17 #177929 #173679 #791767
square
#795A17 #177929 #173679 #791767
split-complementary
#795A17 #176779 #291779
monochromatic
#1A1305 #46340D #795A17 #AC8021 #D8A432

Accessibility & contrast

On white

6.39
#795A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#795A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795A17
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795A17#FFFFFF#000000##FFFFFF
##795A171.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A0B
Deuteranopia (green-blind)
#6E621A
Tritanopia (blue-blind)
#84514D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #795a17;
/* rgb */ color: rgb(121, 90, 23);
/* oklch */ color: oklch(48.8% 0.090 82.1);
Tailwind
colors: {
  custom: {
    50: '#a4885a',
    500: '#795a17',
    950: '#000000',
  },
}
SCSS
$custom: #795a17;
$custom-light: #a4885a;
$custom-dark: #000000;
JSON
{
  "hex": "#795a17",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 41.02,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48765,
    "c": 0.09028,
    "h": 82.1
  },
  "luminance": 0.11439
}

Semantic roles & 50–950 ramp

primary
#795A17
secondary
#3E61AE
accent
#74EB3D
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #795A17

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

Preview Lab → · Contrast checker → · Palette generator →

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