#8B8328#8B8328
#8B8328 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.110 H 104.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8328 |
|---|---|
| RGB | rgb(139, 131, 40) |
| HSL | hsl(55, 55%, 35%) |
| HSV | hsv(55, 71%, 55%) |
| CMYK | cmyk(0%, 5.8%, 71.2%, 45.5%) |
| CIE-LAB | lab(53.89, -8.16, 47.85) |
| CIE-LCH | lch(53.89, 48.54, 99.68°) |
| OKLab | oklab(59.97% -0.0271 0.1067) |
| OKLCH | oklch(59.97% 0.11 104.3) |
| XYZ | xyz(19.1475, 21.8755, 5.2209) |
| Luminance | 0.2188 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.91
Baby Poop
#937C00
ΔE00 5.68
Drab
#828344
ΔE00 5.74
Shit Green
#758000
ΔE00 6.27
Hazel
#8E7618
ΔE00 6.48
Diarrhea
#9F8303
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8328 #28308B
analogous
#8B5228 #8B8328 #618B28
triadic
#8B8328 #288B83 #83288B
tetradic
#8B8328 #288B52 #28308B #8B2861
square
#8B8328 #288B52 #28308B #8B2861
split-complementary
#8B8328 #28618B #52288B
monochromatic
#2C290D #5B561A #8B8328 #BBB036 #D0C75D
Accessibility & contrast
On white
3.91
#8B8328 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#8B8328 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8328
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8328 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8328 | 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)
#8F7E1A
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#967A71
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8b8328; /* rgb */ color: rgb(139, 131, 40); /* oklch */ color: oklch(60.0% 0.110 104.3);
Tailwind
colors: {
custom: {
50: '#b0a668',
500: '#8b8328',
950: '#000000',
},
}SCSS
$custom: #8b8328; $custom-light: #b0a668; $custom-dark: #000000;
JSON
{
"hex": "#8b8328",
"rgb": {
"r": 139,
"g": 131,
"b": 40
},
"hsl": {
"h": 55.152,
"s": 55.307,
"l": 35.098
},
"oklch": {
"l": 0.59974,
"c": 0.11012,
"h": 104.3
},
"luminance": 0.21875
}Semantic roles & 50–950 ramp
primary
#8B8328
secondary
#5961B6
accent
#55DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A