#8F8941#8F8941
#8F8941 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 62.0% C 0.094 H 104.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8941 |
|---|---|
| RGB | rgb(143, 137, 65) |
| HSL | hsl(55, 38%, 41%) |
| HSV | hsv(55, 55%, 56%) |
| CMYK | cmyk(0%, 4.2%, 54.5%, 43.9%) |
| CIE-LAB | lab(56.20, -7.85, 38.89) |
| CIE-LCH | lch(56.20, 39.67, 101.41°) |
| OKLab | oklab(61.97% -0.0236 0.0912) |
| OKLCH | oklch(61.97% 0.094 104.5) |
| XYZ | xyz(21.2281, 24.1133, 8.5361) |
| Luminance | 0.2411 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.93
Dark Khaki
#9B8F55
ΔE00 4.35
Camo
#7F8F4E
ΔE00 7.07
Olive
#808000
ΔE00 7.16
Khaki Green
#728639
ΔE00 8.08
Moss Green
#8A9A5B
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8941 #41478F
analogous
#8F6241 #8F8941 #6E8F41
triadic
#8F8941 #418F89 #89418F
tetradic
#8F8941 #418F62 #41478F #8F416E
square
#8F8941 #418F62 #41478F #8F416E
split-complementary
#8F8941 #416E8F #62418F
monochromatic
#3B381B #65612E #8F8941 #B4AD59 #C7C284
Accessibility & contrast
On white
3.61
#8F8941 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#8F8941 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8941
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8941 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8941 | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94853A
Deuteranopia (green-blind)
#968845
Tritanopia (blue-blind)
#988179
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8f8941; /* rgb */ color: rgb(143, 137, 65); /* oklch */ color: oklch(62.0% 0.094 104.5);
Tailwind
colors: {
custom: {
50: '#b2ab78',
500: '#8f8941',
950: '#000000',
},
}SCSS
$custom: #8f8941; $custom-light: #b2ab78; $custom-dark: #000000;
JSON
{
"hex": "#8f8941",
"rgb": {
"r": 143,
"g": 137,
"b": 65
},
"hsl": {
"h": 55.385,
"s": 37.5,
"l": 40.784
},
"oklch": {
"l": 0.61971,
"c": 0.09421,
"h": 104.5
},
"luminance": 0.24113
}Semantic roles & 50–950 ramp
primary
#8F8941
secondary
#7A7FB1
accent
#63CD5A
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111009
muted
#807F7B