#8D7F22#8D7F22
#8D7F22 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.2% C 0.110 H 100.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7F22 |
|---|---|
| RGB | rgb(141, 127, 34) |
| HSL | hsl(52, 61%, 34%) |
| HSV | hsv(52, 76%, 55%) |
| CMYK | cmyk(0%, 9.9%, 75.9%, 44.7%) |
| CIE-LAB | lab(52.90, -5.35, 49.32) |
| CIE-LCH | lch(52.90, 49.61, 96.19°) |
| OKLab | oklab(59.22% -0.0199 0.1086) |
| OKLCH | oklch(59.22% 0.11 100.4) |
| XYZ | xyz(18.8635, 20.9578, 4.5647) |
| Luminance | 0.2096 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.67
Hazel
#8E7618
ΔE00 4.28
Olive
#808000
ΔE00 4.79
Puke Brown
#947706
ΔE00 5.39
Diarrhea
#9F8303
ΔE00 5.59
Ugly Brown
#7D7103
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7F22 #22308D
analogous
#8D4A22 #8D7F22 #668D22
triadic
#8D7F22 #228D7F #7F228D
tetradic
#8D7F22 #228D4A #22308D #8D2266
square
#8D7F22 #228D4A #22308D #8D2266
split-complementary
#8D7F22 #22668D #4A228D
monochromatic
#2A260A #5C5316 #8D7F22 #BEAB2E #D6C554
Accessibility & contrast
On white
4.05
#8D7F22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#8D7F22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7F22
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7F22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7F22 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B11
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8d7f22; /* rgb */ color: rgb(141, 127, 34); /* oklch */ color: oklch(59.2% 0.110 100.4);
Tailwind
colors: {
custom: {
50: '#b2a364',
500: '#8d7f22',
950: '#000000',
},
}SCSS
$custom: #8d7f22; $custom-light: #b2a364; $custom-dark: #000000;
JSON
{
"hex": "#8d7f22",
"rgb": {
"r": 141,
"g": 127,
"b": 34
},
"hsl": {
"h": 52.15,
"s": 61.143,
"l": 34.314
},
"oklch": {
"l": 0.59218,
"c": 0.11042,
"h": 100.4
},
"luminance": 0.20957
}Semantic roles & 50–950 ramp
primary
#8D7F22
secondary
#515FB9
accent
#59E444
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A