#8B8926#8B8926
#8B8926 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.118 H 108.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8926 |
|---|---|
| RGB | rgb(139, 137, 38) |
| HSL | hsl(59, 57%, 35%) |
| HSV | hsv(59, 73%, 55%) |
| CMYK | cmyk(0%, 1.4%, 72.7%, 45.5%) |
| CIE-LAB | lab(55.60, -11.53, 50.33) |
| CIE-LCH | lch(55.60, 51.63, 102.90°) |
| OKLab | oklab(61.33% -0.0368 0.1116) |
| OKLCH | oklch(61.33% 0.118 108.3) |
| XYZ | xyz(19.9437, 23.5209, 5.3228) |
| Luminance | 0.2352 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.06
Shit Green
#758000
ΔE00 5.73
Swamp Green
#748500
ΔE00 5.87
Baby Shit Green
#889717
ΔE00 5.96
Baby Poop Green
#8F9805
ΔE00 6.01
Drab
#828344
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8926 #26288B
analogous
#8B5726 #8B8926 #5B8B26
triadic
#8B8926 #268B89 #89268B
tetradic
#8B8926 #268B57 #26288B #8B265B
square
#8B8926 #268B57 #26288B #8B265B
split-complementary
#8B8926 #265B8B #57268B
monochromatic
#2B2A0C #5B5A19 #8B8926 #BBB833 #D2CF5A
Accessibility & contrast
On white
3.68
#8B8926 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#8B8926 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8926
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8926 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8926 | 1.00 | 3.68 | 5.70 | 5.70 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958315
Deuteranopia (green-blind)
#96872D
Tritanopia (blue-blind)
#958076
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8b8926; /* rgb */ color: rgb(139, 137, 38); /* oklch */ color: oklch(61.3% 0.118 108.3);
Tailwind
colors: {
custom: {
50: '#b0ab68',
500: '#8b8926',
950: '#000000',
},
}SCSS
$custom: #8b8926; $custom-light: #b0ab68; $custom-dark: #000000;
JSON
{
"hex": "#8b8926",
"rgb": {
"r": 139,
"g": 137,
"b": 38
},
"hsl": {
"h": 58.812,
"s": 57.062,
"l": 34.706
},
"oklch": {
"l": 0.61332,
"c": 0.11751,
"h": 108.3
},
"luminance": 0.2352
}Semantic roles & 50–950 ramp
primary
#8B8926
secondary
#5658B7
accent
#4BE047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A