#8B8326#8B8326
#8B8326 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.112 H 104.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8326 |
|---|---|
| RGB | rgb(139, 131, 38) |
| HSL | hsl(55, 57%, 35%) |
| HSV | hsv(55, 73%, 55%) |
| CMYK | cmyk(0%, 5.8%, 72.7%, 45.5%) |
| CIE-LAB | lab(53.88, -8.27, 48.64) |
| CIE-LCH | lch(53.88, 49.34, 99.65°) |
| OKLab | oklab(59.96% -0.0276 0.108) |
| OKLCH | oklch(59.96% 0.112 104.4) |
| XYZ | xyz(19.1144, 21.8623, 5.0463) |
| Luminance | 0.2186 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.74
Baby Poop
#937C00
ΔE00 5.57
Drab
#828344
ΔE00 5.95
Shit Green
#758000
ΔE00 6.19
Hazel
#8E7618
ΔE00 6.46
Diarrhea
#9F8303
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8326 #262E8B
analogous
#8B5126 #8B8326 #608B26
triadic
#8B8326 #268B83 #83268B
tetradic
#8B8326 #268B51 #262E8B #8B2660
square
#8B8326 #268B51 #262E8B #8B2660
split-complementary
#8B8326 #26608B #51268B
monochromatic
#2B280C #5B5619 #8B8326 #BBB033 #D2C85A
Accessibility & contrast
On white
3.91
#8B8326 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#8B8326 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8326
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8326 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8326 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E17
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#967A71
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8b8326; /* rgb */ color: rgb(139, 131, 38); /* oklch */ color: oklch(60.0% 0.112 104.4);
Tailwind
colors: {
custom: {
50: '#b0a667',
500: '#8b8326',
950: '#000000',
},
}SCSS
$custom: #8b8326; $custom-light: #b0a667; $custom-dark: #000000;
JSON
{
"hex": "#8b8326",
"rgb": {
"r": 139,
"g": 131,
"b": 38
},
"hsl": {
"h": 55.248,
"s": 57.062,
"l": 34.706
},
"oklch": {
"l": 0.59958,
"c": 0.11152,
"h": 104.4
},
"luminance": 0.21862
}Semantic roles & 50–950 ramp
primary
#8B8326
secondary
#565EB7
accent
#54E047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A