#796017#796017

#796017 is a mid, moderate orange. Relative luminance 0.125; OKLCH L 50.1% C 0.093 H 88.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#796017
RGBrgb(121, 96, 23)
HSLhsl(45, 68%, 28%)
HSVhsv(45, 81%, 47%)
CMYKcmyk(0%, 20.7%, 81%, 52.5%)
CIE-LABlab(41.99, 2.42, 42.55)
CIE-LCHlch(41.99, 42.62, 86.74°)
OKLaboklab(50.08% 0.0021 0.0928)
OKLCHoklch(50.08% 0.093 88.7)
XYZxyz(12.2234, 12.4934, 2.5781)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796017 #173079
analogous
#792F17 #796017 #617917
triadic
#796017 #177960 #601779
tetradic
#796017 #17792F #173079 #791761
square
#796017 #17792F #173079 #791761
split-complementary
#796017 #176179 #2F1779
monochromatic
#1A1405 #46370D #796017 #AC8921 #D8AE32

Accessibility & contrast

On white

6.00
#796017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#796017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796017
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796017#FFFFFF#000000##FFFFFF
##7960171.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#72661B
Tritanopia (blue-blind)
#845752
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #796017;
/* rgb */ color: rgb(121, 96, 23);
/* oklch */ color: oklch(50.1% 0.093 88.7);
Tailwind
colors: {
  custom: {
    50: '#a38c5b',
    500: '#796017',
    950: '#000000',
  },
}
SCSS
$custom: #796017;
$custom-light: #a38c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#796017",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 44.694,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50084,
    "c": 0.09279,
    "h": 88.7
  },
  "luminance": 0.12493
}

Semantic roles & 50–950 ramp

primary
#796017
secondary
#3E5AAE
accent
#69EB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #796017

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

Preview Lab → · Contrast checker → · Palette generator →

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