#8B7E21#8B7E21
#8B7E21 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.110 H 101.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7E21 |
|---|---|
| RGB | rgb(139, 126, 33) |
| HSL | hsl(53, 62%, 34%) |
| HSV | hsv(53, 76%, 55%) |
| CMYK | cmyk(0%, 9.4%, 76.3%, 45.5%) |
| CIE-LAB | lab(52.42, -5.76, 49.17) |
| CIE-LCH | lch(52.42, 49.51, 96.68°) |
| OKLab | oklab(58.79% -0.0211 0.1082) |
| OKLCH | oklch(58.79% 0.11 101) |
| XYZ | xyz(18.3837, 20.5213, 4.4312) |
| Luminance | 0.2052 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.90
Hazel
#8E7618
ΔE00 4.28
Olive
#808000
ΔE00 4.48
Ugly Brown
#7D7103
ΔE00 5.31
Puke Brown
#947706
ΔE00 5.54
Poo
#8F7303
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7E21 #212E8B
analogous
#8B4921 #8B7E21 #638B21
triadic
#8B7E21 #218B7E #7E218B
tetradic
#8B7E21 #218B49 #212E8B #8B2163
square
#8B7E21 #218B49 #212E8B #8B2163
split-complementary
#8B7E21 #21638B #49218B
monochromatic
#28240A #5A5115 #8B7E21 #BCAB2D #D6C551
Accessibility & contrast
On white
4.11
#8B7E21 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#8B7E21 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7E21
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7E21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7E21 | 1.00 | 4.11 | 5.10 | 5.10 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A0F
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#96746C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8b7e21; /* rgb */ color: rgb(139, 126, 33); /* oklch */ color: oklch(58.8% 0.110 101.0);
Tailwind
colors: {
custom: {
50: '#b0a364',
500: '#8b7e21',
950: '#000000',
},
}SCSS
$custom: #8b7e21; $custom-light: #b0a364; $custom-dark: #000000;
JSON
{
"hex": "#8b7e21",
"rgb": {
"r": 139,
"g": 126,
"b": 33
},
"hsl": {
"h": 52.642,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.58788,
"c": 0.11023,
"h": 101
},
"luminance": 0.2052
}Semantic roles & 50–950 ramp
primary
#8B7E21
secondary
#4F5CB9
accent
#57E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A