#8F841F#8F841F
#8F841F is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.5% C 0.116 H 102.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8F841F |
|---|---|
| RGB | rgb(143, 132, 31) |
| HSL | hsl(54, 64%, 34%) |
| HSV | hsv(54, 78%, 56%) |
| CMYK | cmyk(0%, 7.7%, 78.3%, 43.9%) |
| CIE-LAB | lab(54.49, -7.31, 51.97) |
| CIE-LCH | lch(54.49, 52.48, 98.01°) |
| OKLab | oklab(60.52% -0.0259 0.1136) |
| OKLCH | oklch(60.52% 0.116 102.8) |
| XYZ | xyz(19.8272, 22.4420, 4.5834) |
| Luminance | 0.2244 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.20
Baby Poop
#937C00
ΔE00 4.60
Diarrhea
#9F8303
ΔE00 5.62
Hazel
#8E7618
ΔE00 6.14
Puke Brown
#947706
ΔE00 6.84
Shit Green
#758000
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F841F #1F2A8F
analogous
#8F4C1F #8F841F #628F1F
triadic
#8F841F #1F8F84 #841F8F
tetradic
#8F841F #1F8F4C #1F2A8F #8F1F62
square
#8F841F #1F8F4C #1F2A8F #8F1F62
split-complementary
#8F841F #1F628F #4C1F8F
monochromatic
#2A2709 #5D5614 #8F841F #C1B22A #D9CB4F
Accessibility & contrast
On white
3.83
#8F841F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#8F841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F841F
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F841F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F841F | 1.00 | 3.83 | 5.49 | 5.49 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918007
Deuteranopia (green-blind)
#948527
Tritanopia (blue-blind)
#9A7A71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8f841f; /* rgb */ color: rgb(143, 132, 31); /* oklch */ color: oklch(60.5% 0.116 102.8);
Tailwind
colors: {
custom: {
50: '#b3a764',
500: '#8f841f',
950: '#000000',
},
}SCSS
$custom: #8f841f; $custom-light: #b3a764; $custom-dark: #000000;
JSON
{
"hex": "#8f841f",
"rgb": {
"r": 143,
"g": 132,
"b": 31
},
"hsl": {
"h": 54.107,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.6052,
"c": 0.11647,
"h": 102.8
},
"luminance": 0.22441
}Semantic roles & 50–950 ramp
primary
#8F841F
secondary
#4E59BC
accent
#51E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A