#8B8521#8B8521
#8B8521 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.4% C 0.117 H 105.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8521 |
|---|---|
| RGB | rgb(139, 133, 33) |
| HSL | hsl(57, 62%, 34%) |
| HSV | hsv(57, 76%, 55%) |
| CMYK | cmyk(0%, 4.3%, 76.3%, 45.5%) |
| CIE-LAB | lab(54.42, -9.61, 51.06) |
| CIE-LCH | lch(54.42, 51.96, 100.66°) |
| OKLab | oklab(60.38% -0.0319 0.1122) |
| OKLCH | oklch(60.38% 0.117 105.9) |
| XYZ | xyz(19.3103, 22.3746, 4.7401) |
| Luminance | 0.2237 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.32
Shit Green
#758000
ΔE00 5.76
Baby Poop
#937C00
ΔE00 6.02
Drab
#828344
ΔE00 6.45
Swamp Green
#748500
ΔE00 6.47
Diarrhea
#9F8303
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8521 #21278B
analogous
#8B5021 #8B8521 #5C8B21
triadic
#8B8521 #218B85 #85218B
tetradic
#8B8521 #218B50 #21278B #8B215C
square
#8B8521 #218B50 #21278B #8B215C
split-complementary
#8B8521 #215C8B #50218B
monochromatic
#28260A #5A5615 #8B8521 #BCB42D #D6CE51
Accessibility & contrast
On white
3.84
#8B8521 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#8B8521 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8521
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8521 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8521 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91800C
Deuteranopia (green-blind)
#938429
Tritanopia (blue-blind)
#967C72
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8b8521; /* rgb */ color: rgb(139, 133, 33); /* oklch */ color: oklch(60.4% 0.117 105.9);
Tailwind
colors: {
custom: {
50: '#b0a865',
500: '#8b8521',
950: '#000000',
},
}SCSS
$custom: #8b8521; $custom-light: #b0a865; $custom-dark: #000000;
JSON
{
"hex": "#8b8521",
"rgb": {
"r": 139,
"g": 133,
"b": 33
},
"hsl": {
"h": 56.604,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.6038,
"c": 0.11665,
"h": 105.9
},
"luminance": 0.22374
}Semantic roles & 50–950 ramp
primary
#8B8521
secondary
#4F55B9
accent
#4CE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A