#8F7F22#8F7F22
#8F7F22 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.4% C 0.110 H 99.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7F22 |
|---|---|
| RGB | rgb(143, 127, 34) |
| HSL | hsl(51, 62%, 35%) |
| HSV | hsv(51, 76%, 56%) |
| CMYK | cmyk(0%, 11.2%, 76.2%, 43.9%) |
| CIE-LAB | lab(53.10, -4.42, 49.57) |
| CIE-LCH | lch(53.10, 49.77, 95.10°) |
| OKLab | oklab(59.42% -0.0174 0.1091) |
| OKLCH | oklch(59.42% 0.11 99.1) |
| XYZ | xyz(19.2067, 21.1348, 4.5808) |
| Luminance | 0.2113 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.20
Hazel
#8E7618
ΔE00 3.91
Puke Brown
#947706
ΔE00 4.86
Diarrhea
#9F8303
ΔE00 5.03
Olive
#808000
ΔE00 5.37
Poo
#8F7303
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7F22 #22328F
analogous
#8F4922 #8F7F22 #688F22
triadic
#8F7F22 #228F7F #7F228F
tetradic
#8F7F22 #228F49 #22328F #8F2268
square
#8F7F22 #228F49 #22328F #8F2268
split-complementary
#8F7F22 #22688F #49228F
monochromatic
#2C270A #5E5316 #8F7F22 #C0AB2E #D7C455
Accessibility & contrast
On white
4.02
#8F7F22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#8F7F22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7F22
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7F22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7F22 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C11
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#9B756D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8f7f22; /* rgb */ color: rgb(143, 127, 34); /* oklch */ color: oklch(59.4% 0.110 99.1);
Tailwind
colors: {
custom: {
50: '#b3a364',
500: '#8f7f22',
950: '#000000',
},
}SCSS
$custom: #8f7f22; $custom-light: #b3a364; $custom-dark: #000000;
JSON
{
"hex": "#8f7f22",
"rgb": {
"r": 143,
"g": 127,
"b": 34
},
"hsl": {
"h": 51.193,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.59417,
"c": 0.11044,
"h": 99.1
},
"luminance": 0.21134
}Semantic roles & 50–950 ramp
primary
#8F7F22
secondary
#5262BA
accent
#5BE543
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A