#796231#796231

#796231 is a mid, moderate orange. Relative luminance 0.130; OKLCH L 50.8% C 0.073 H 84.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#796231
RGBrgb(121, 98, 49)
HSLhsl(41, 42%, 33%)
HSVhsv(41, 60%, 47%)
CMYKcmyk(0%, 19%, 59.5%, 52.5%)
CIE-LABlab(42.80, 2.90, 31.00)
CIE-LCHlch(42.80, 31.13, 84.65°)
OKLaboklab(50.8% 0.007 0.0728)
OKLCHoklch(50.8% 0.073 84.5)
XYZxyz(12.8078, 13.0228, 4.7442)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796231 #314879
analogous
#793E31 #796231 #6C7931
triadic
#796231 #317962 #623179
tetradic
#796231 #31793E #314879 #79316C
square
#796231 #31793E #314879 #79316C
split-complementary
#796231 #316C79 #3E3179
monochromatic
#221B0E #4D3F1F #796231 #A58543 #C0A364

Accessibility & contrast

On white

5.83
#796231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#796231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796231
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796231#FFFFFF#000000##FFFFFF
##7962311.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C622C
Deuteranopia (green-blind)
#726833
Tritanopia (blue-blind)
#835A57
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #796231;
/* rgb */ color: rgb(121, 98, 49);
/* oklch */ color: oklch(50.8% 0.073 84.5);
Tailwind
colors: {
  custom: {
    50: '#a28e6a',
    500: '#796231',
    950: '#000000',
  },
}
SCSS
$custom: #796231;
$custom-light: #a28e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#796231",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 49
  },
  "hsl": {
    "h": 40.833,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.50798,
    "c": 0.07309,
    "h": 84.5
  },
  "luminance": 0.13022
}

Semantic roles & 50–950 ramp

primary
#796231
secondary
#5E76A8
accent
#7DD256
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0C06
muted
#7F7D7A

Preview Lab

Preview with #796231

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

Preview Lab → · Contrast checker → · Palette generator →

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