#796138#796138

#796138 is a mid, moderate orange. Relative luminance 0.129; OKLCH L 50.7% C 0.065 H 79.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#796138
RGBrgb(121, 97, 56)
HSLhsl(38, 37%, 35%)
HSVhsv(38, 54%, 47%)
CMYKcmyk(0%, 19.8%, 53.7%, 52.5%)
CIE-LABlab(42.61, 4.14, 26.89)
CIE-LCHlch(42.61, 27.21, 81.25°)
OKLaboklab(50.68% 0.0115 0.0644)
OKLCHoklch(50.68% 0.065 79.8)
XYZxyz(12.8742, 12.9006, 5.5526)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796138 #385079
analogous
#794138 #796138 #717938
triadic
#796138 #387961 #613879
tetradic
#796138 #387941 #385079 #793871
square
#796138 #387941 #385079 #793871
split-complementary
#796138 #387179 #413879
monochromatic
#251E11 #4F3F25 #796138 #A3834B #BCA06F

Accessibility & contrast

On white

5.87
#796138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#796138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796138
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796138#FFFFFF#000000##FFFFFF
##7961381.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6135
Deuteranopia (green-blind)
#716739
Tritanopia (blue-blind)
#825A57
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #796138;
/* rgb */ color: rgb(121, 97, 56);
/* oklch */ color: oklch(50.7% 0.065 79.8);
Tailwind
colors: {
  custom: {
    50: '#a28d6f',
    500: '#796138',
    950: '#000000',
  },
}
SCSS
$custom: #796138;
$custom-light: #a28d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#796138",
  "rgb": {
    "r": 121,
    "g": 97,
    "b": 56
  },
  "hsl": {
    "h": 37.846,
    "s": 36.723,
    "l": 34.706
  },
  "oklch": {
    "l": 0.50684,
    "c": 0.06546,
    "h": 79.8
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#796138
secondary
#677EA5
accent
#85CD5B
background
#FAF8F6
surface
#F4F0EC
border
#CECBC7
text
#0F0C07
muted
#7F7D7A

Preview Lab

Preview with #796138

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

Preview Lab → · Contrast checker → · Palette generator →

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