#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 |
|---|---|
| RGB | rgb(121, 98, 49) |
| HSL | hsl(41, 42%, 33%) |
| HSV | hsv(41, 60%, 47%) |
| CMYK | cmyk(0%, 19%, 59.5%, 52.5%) |
| CIE-LAB | lab(42.80, 2.90, 31.00) |
| CIE-LCH | lch(42.80, 31.13, 84.65°) |
| OKLab | oklab(50.8% 0.007 0.0728) |
| OKLCH | oklch(50.8% 0.073 84.5) |
| XYZ | xyz(12.8078, 13.0228, 4.7442) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dirt Brown
#836539
ΔE00 3.69
Mud
#735C12
ΔE00 5.12
Dirt
#8A6E45
ΔE00 6.05
Dull Brown
#876E4B
ΔE00 6.55
Poop Brown
#7A5901
ΔE00 6.69
Shit Brown
#7B5804
ΔE00 6.71
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 |
|---|---|---|---|---|
| ##796231 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.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