#8B8516#8B8516
#8B8516 is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.3% C 0.122 H 106.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8516 |
|---|---|
| RGB | rgb(139, 133, 22) |
| HSL | hsl(57, 73%, 32%) |
| HSV | hsv(57, 84%, 55%) |
| CMYK | cmyk(0%, 4.3%, 84.2%, 45.5%) |
| CIE-LAB | lab(54.37, -10.03, 54.52) |
| CIE-LCH | lch(54.37, 55.44, 100.43°) |
| OKLab | oklab(60.32% -0.0341 0.1174) |
| OKLCH | oklch(60.32% 0.122 106.2) |
| XYZ | xyz(19.1807, 22.3227, 4.0573) |
| Luminance | 0.2232 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.94
Shit Green
#758000
ΔE00 5.66
Baby Poop
#937C00
ΔE00 5.77
Swamp Green
#748500
ΔE00 6.38
Diarrhea
#9F8303
ΔE00 6.89
Baby Poop Green
#8F9805
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8516 #161C8B
analogous
#8B4B16 #8B8516 #578B16
triadic
#8B8516 #168B85 #85168B
tetradic
#8B8516 #168B4B #161C8B #8B1657
square
#8B8516 #168B4B #161C8B #8B1657
split-complementary
#8B8516 #16578B #4B168B
monochromatic
#212005 #56520E #8B8516 #C0B81E #E0D83B
Accessibility & contrast
On white
3.84
#8B8516 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#8B8516 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8516
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8516 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8516 | 1.00 | 3.84 | 5.46 | 5.46 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#948420
Tritanopia (blue-blind)
#967B71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8b8516; /* rgb */ color: rgb(139, 133, 22); /* oklch */ color: oklch(60.3% 0.122 106.2);
Tailwind
colors: {
custom: {
50: '#b1a860',
500: '#8b8516',
950: '#000000',
},
}SCSS
$custom: #8b8516; $custom-light: #b1a860; $custom-dark: #000000;
JSON
{
"hex": "#8b8516",
"rgb": {
"r": 139,
"g": 133,
"b": 22
},
"hsl": {
"h": 56.923,
"s": 72.671,
"l": 31.569
},
"oklch": {
"l": 0.60319,
"c": 0.12228,
"h": 106.2
},
"luminance": 0.22322
}Semantic roles & 50–950 ramp
primary
#8B8516
secondary
#3E45BF
accent
#42EF38
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79