#8F891F#8F891F
#8F891F is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.7% C 0.121 H 106.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8F891F |
|---|---|
| RGB | rgb(143, 137, 31) |
| HSL | hsl(57, 64%, 34%) |
| HSV | hsv(57, 78%, 56%) |
| CMYK | cmyk(0%, 4.2%, 78.3%, 43.9%) |
| CIE-LAB | lab(55.92, -10.03, 53.27) |
| CIE-LCH | lch(55.92, 54.21, 100.67°) |
| OKLab | oklab(61.66% -0.0335 0.1163) |
| OKLCH | oklch(61.66% 0.121 106.1) |
| XYZ | xyz(20.5215, 23.8307, 4.8149) |
| Luminance | 0.2383 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.26
Baby Poop Green
#8F9805
ΔE00 6.07
Pea Soup
#929901
ΔE00 6.19
Baby Poop
#937C00
ΔE00 6.52
Baby Shit Green
#889717
ΔE00 6.55
Shit Green
#758000
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F891F #1F258F
analogous
#8F511F #8F891F #5D8F1F
triadic
#8F891F #1F8F89 #891F8F
tetradic
#8F891F #1F8F51 #1F258F #8F1F5D
square
#8F891F #1F8F51 #1F258F #8F1F5D
split-complementary
#8F891F #1F5D8F #511F8F
monochromatic
#2A2909 #5D5914 #8F891F #C1B92A #D9D24F
Accessibility & contrast
On white
3.64
#8F891F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#8F891F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F891F
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F891F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F891F | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958404
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#9A7F75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8f891f; /* rgb */ color: rgb(143, 137, 31); /* oklch */ color: oklch(61.7% 0.121 106.1);
Tailwind
colors: {
custom: {
50: '#b3ab64',
500: '#8f891f',
950: '#000000',
},
}SCSS
$custom: #8f891f; $custom-light: #b3ab64; $custom-dark: #000000;
JSON
{
"hex": "#8f891f",
"rgb": {
"r": 143,
"g": 137,
"b": 31
},
"hsl": {
"h": 56.786,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.61655,
"c": 0.12107,
"h": 106.1
},
"luminance": 0.2383
}Semantic roles & 50–950 ramp
primary
#8F891F
secondary
#4E54BC
accent
#49E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A