#8B8321#8B8321
#8B8321 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.9% C 0.115 H 104.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8321 |
|---|---|
| RGB | rgb(139, 131, 33) |
| HSL | hsl(55, 62%, 34%) |
| HSV | hsv(55, 76%, 55%) |
| CMYK | cmyk(0%, 5.8%, 76.3%, 45.5%) |
| CIE-LAB | lab(53.85, -8.52, 50.52) |
| CIE-LCH | lch(53.85, 51.23, 99.57°) |
| OKLab | oklab(59.92% -0.0289 0.1111) |
| OKLCH | oklch(59.92% 0.115 104.6) |
| XYZ | xyz(19.0391, 21.8321, 4.6497) |
| Luminance | 0.2183 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.39
Baby Poop
#937C00
ΔE00 5.33
Shit Green
#758000
ΔE00 6.03
Hazel
#8E7618
ΔE00 6.46
Drab
#828344
ΔE00 6.47
Diarrhea
#9F8303
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8321 #21298B
analogous
#8B4E21 #8B8321 #5E8B21
triadic
#8B8321 #218B83 #83218B
tetradic
#8B8321 #218B4E #21298B #8B215E
square
#8B8321 #218B4E #21298B #8B215E
split-complementary
#8B8321 #215E8B #4E218B
monochromatic
#28260A #5A5415 #8B8321 #BCB22D #D6CC51
Accessibility & contrast
On white
3.91
#8B8321 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#8B8321 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8321
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8321 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8321 | 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)
#8F7E0D
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#967A70
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8b8321; /* rgb */ color: rgb(139, 131, 33); /* oklch */ color: oklch(59.9% 0.115 104.6);
Tailwind
colors: {
custom: {
50: '#b0a664',
500: '#8b8321',
950: '#000000',
},
}SCSS
$custom: #8b8321; $custom-light: #b0a664; $custom-dark: #000000;
JSON
{
"hex": "#8b8321",
"rgb": {
"r": 139,
"g": 131,
"b": 33
},
"hsl": {
"h": 55.472,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.59923,
"c": 0.11474,
"h": 104.6
},
"luminance": 0.21831
}Semantic roles & 50–950 ramp
primary
#8B8321
secondary
#4F57B9
accent
#4FE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A