#8B8A2A#8B8A2A
#8B8A2A is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.116 H 108.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8A2A |
|---|---|
| RGB | rgb(139, 138, 42) |
| HSL | hsl(59, 54%, 35%) |
| HSV | hsv(59, 70%, 55%) |
| CMYK | cmyk(0%, 0.7%, 69.8%, 45.5%) |
| CIE-LAB | lab(55.92, -11.84, 49.06) |
| CIE-LCH | lch(55.92, 50.47, 103.57°) |
| OKLab | oklab(61.59% -0.0373 0.1097) |
| OKLCH | oklch(61.59% 0.116 108.8) |
| XYZ | xyz(20.1546, 23.8337, 5.7287) |
| Luminance | 0.2383 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.51
Baby Shit Green
#889717
ΔE00 5.71
Swamp Green
#748500
ΔE00 5.89
Baby Poop Green
#8F9805
ΔE00 5.90
Shit Green
#758000
ΔE00 5.91
Drab
#828344
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8A2A #2A2B8B
analogous
#8B592A #8B8A2A #5C8B2A
triadic
#8B8A2A #2A8B8A #8A2A8B
tetradic
#8B8A2A #2A8B59 #2A2B8B #8B2A5C
square
#8B8A2A #2A8B59 #2A2B8B #8B2A5C
split-complementary
#8B8A2A #2A5C8B #592A8B
monochromatic
#2D2D0E #5C5B1C #8B8A2A #BAB938 #CFCE60
Accessibility & contrast
On white
3.64
#8B8A2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#8B8A2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8A2A
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8A2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8A2A | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95841B
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#958177
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8b8a2a; /* rgb */ color: rgb(139, 138, 42); /* oklch */ color: oklch(61.6% 0.116 108.8);
Tailwind
colors: {
custom: {
50: '#b0ab6a',
500: '#8b8a2a',
950: '#000000',
},
}SCSS
$custom: #8b8a2a; $custom-light: #b0ab6a; $custom-dark: #000000;
JSON
{
"hex": "#8b8a2a",
"rgb": {
"r": 139,
"g": 138,
"b": 42
},
"hsl": {
"h": 59.381,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.61593,
"c": 0.11581,
"h": 108.8
},
"luminance": 0.23833
}Semantic roles & 50–950 ramp
primary
#8B8A2A
secondary
#5C5DB5
accent
#4CDD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A