#796027#796027

#796027 is a mid, moderate orange. Relative luminance 0.126; OKLCH L 50.2% C 0.081 H 85.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#796027
RGBrgb(121, 96, 39)
HSLhsl(42, 51%, 31%)
HSVhsv(42, 68%, 47%)
CMYKcmyk(0%, 20.7%, 67.8%, 52.5%)
CIE-LABlab(42.12, 3.31, 35.47)
CIE-LCHlch(42.12, 35.63, 84.67°)
OKLaboklab(50.23% 0.0068 0.081)
OKLCHoklch(50.23% 0.081 85.2)
XYZxyz(12.4349, 12.5780, 3.6919)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796027 #274079
analogous
#793727 #796027 #697927
triadic
#796027 #277960 #602779
tetradic
#796027 #277937 #274079 #792769
square
#796027 #277937 #274079 #792769
split-complementary
#796027 #276979 #372779
monochromatic
#1C1709 #4B3B18 #796027 #A78536 #C8A453

Accessibility & contrast

On white

5.97
#796027 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#796027 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796027
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796027#FFFFFF#000000##FFFFFF
##7960271.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6021
Deuteranopia (green-blind)
#716629
Tritanopia (blue-blind)
#835854
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #796027;
/* rgb */ color: rgb(121, 96, 39);
/* oklch */ color: oklch(50.2% 0.081 85.2);
Tailwind
colors: {
  custom: {
    50: '#a38c64',
    500: '#796027',
    950: '#000000',
  },
}
SCSS
$custom: #796027;
$custom-light: #a38c64;
$custom-dark: #000000;
JSON
{
  "hex": "#796027",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 39
  },
  "hsl": {
    "h": 41.707,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50228,
    "c": 0.08125,
    "h": 85.2
  },
  "luminance": 0.12577
}

Semantic roles & 50–950 ramp

primary
#796027
secondary
#516CAB
accent
#78DB4D
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0C05
muted
#7F7D7A

Preview Lab

Preview with #796027

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

Preview Lab → · Contrast checker → · Palette generator →

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