#8B7F22#8B7F22
#8B7F22 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.110 H 101.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7F22 |
|---|---|
| RGB | rgb(139, 127, 34) |
| HSL | hsl(53, 61%, 34%) |
| HSV | hsv(53, 76%, 55%) |
| CMYK | cmyk(0%, 8.6%, 75.5%, 45.5%) |
| CIE-LAB | lab(52.71, -6.27, 49.07) |
| CIE-LCH | lch(52.71, 49.47, 97.28°) |
| OKLab | oklab(59.02% -0.0224 0.1082) |
| OKLCH | oklch(59.02% 0.11 101.7) |
| XYZ | xyz(18.5264, 20.7840, 4.5489) |
| Luminance | 0.2078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.19
Olive
#808000
ΔE00 4.24
Hazel
#8E7618
ΔE00 4.72
Ugly Brown
#7D7103
ΔE00 5.62
Puke Brown
#947706
ΔE00 5.94
Diarrhea
#9F8303
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7F22 #222E8B
analogous
#8B4B22 #8B7F22 #638B22
triadic
#8B7F22 #228B7F #7F228B
tetradic
#8B7F22 #228B4B #222E8B #8B2263
square
#8B7F22 #228B4B #222E8B #8B2263
split-complementary
#8B7F22 #22638B #4B228B
monochromatic
#29250A #5A5216 #8B7F22 #BCAC2E #D5C653
Accessibility & contrast
On white
4.07
#8B7F22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#8B7F22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7F22
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7F22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7F22 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B11
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#96766D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8b7f22; /* rgb */ color: rgb(139, 127, 34); /* oklch */ color: oklch(59.0% 0.110 101.7);
Tailwind
colors: {
custom: {
50: '#b0a364',
500: '#8b7f22',
950: '#000000',
},
}SCSS
$custom: #8b7f22; $custom-light: #b0a364; $custom-dark: #000000;
JSON
{
"hex": "#8b7f22",
"rgb": {
"r": 139,
"g": 127,
"b": 34
},
"hsl": {
"h": 53.143,
"s": 60.694,
"l": 33.922
},
"oklch": {
"l": 0.59021,
"c": 0.11047,
"h": 101.7
},
"luminance": 0.20783
}Semantic roles & 50–950 ramp
primary
#8B7F22
secondary
#505CB8
accent
#56E444
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A