#8B831B#8B831B
#8B831B is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.9% C 0.118 H 104.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8B831B |
|---|---|
| RGB | rgb(139, 131, 27) |
| HSL | hsl(56, 67%, 33%) |
| HSV | hsv(56, 81%, 55%) |
| CMYK | cmyk(0%, 5.8%, 80.6%, 45.5%) |
| CIE-LAB | lab(53.82, -8.77, 52.55) |
| CIE-LCH | lch(53.82, 53.28, 99.47°) |
| OKLab | oklab(59.89% -0.0301 0.1142) |
| OKLCH | oklch(59.89% 0.118 104.8) |
| XYZ | xyz(18.9624, 21.8015, 4.2460) |
| Luminance | 0.2180 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.11
Baby Poop
#937C00
ΔE00 5.14
Shit Green
#758000
ΔE00 5.93
Hazel
#8E7618
ΔE00 6.50
Diarrhea
#9F8303
ΔE00 6.54
Ugly Brown
#7D7103
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B831B #1B238B
analogous
#8B4B1B #8B831B #5B8B1B
triadic
#8B831B #1B8B83 #831B8B
tetradic
#8B831B #1B8B4B #1B238B #8B1B5B
square
#8B831B #1B8B4B #1B238B #8B1B5B
split-complementary
#8B831B #1B5B8B #4B1B8B
monochromatic
#252207 #585311 #8B831B #BEB325 #DBD045
Accessibility & contrast
On white
3.92
#8B831B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#8B831B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B831B
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B831B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B831B | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#967970
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8b831b; /* rgb */ color: rgb(139, 131, 27); /* oklch */ color: oklch(59.9% 0.118 104.8);
Tailwind
colors: {
custom: {
50: '#b0a662',
500: '#8b831b',
950: '#000000',
},
}SCSS
$custom: #8b831b; $custom-light: #b0a662; $custom-dark: #000000;
JSON
{
"hex": "#8b831b",
"rgb": {
"r": 139,
"g": 131,
"b": 27
},
"hsl": {
"h": 55.714,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.59886,
"c": 0.11808,
"h": 104.8
},
"luminance": 0.21801
}Semantic roles & 50–950 ramp
primary
#8B831B
secondary
#454EBC
accent
#4AEA3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A