#8F831F#8F831F
#8F831F is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.3% C 0.116 H 102.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8F831F |
|---|---|
| RGB | rgb(143, 131, 31) |
| HSL | hsl(54, 64%, 34%) |
| HSV | hsv(54, 78%, 56%) |
| CMYK | cmyk(0%, 8.4%, 78.3%, 43.9%) |
| CIE-LAB | lab(54.21, -6.76, 51.71) |
| CIE-LCH | lch(54.21, 52.15, 97.45°) |
| OKLab | oklab(60.3% -0.0243 0.113) |
| OKLCH | oklch(60.3% 0.116 102.2) |
| XYZ | xyz(19.6922, 22.1721, 4.5384) |
| Luminance | 0.2217 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.24
Olive
#808000
ΔE00 4.33
Diarrhea
#9F8303
ΔE00 5.41
Hazel
#8E7618
ΔE00 5.71
Puke Brown
#947706
ΔE00 6.42
Yellowish Brown
#9B7A01
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F831F #1F2B8F
analogous
#8F4B1F #8F831F #638F1F
triadic
#8F831F #1F8F83 #831F8F
tetradic
#8F831F #1F8F4B #1F2B8F #8F1F63
square
#8F831F #1F8F4B #1F2B8F #8F1F63
split-complementary
#8F831F #1F638F #4B1F8F
monochromatic
#2A2709 #5D5514 #8F831F #C1B12A #D9CA4F
Accessibility & contrast
On white
3.86
#8F831F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#8F831F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F831F
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F831F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F831F | 1.00 | 3.86 | 5.43 | 5.43 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#938426
Tritanopia (blue-blind)
#9A7970
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8f831f; /* rgb */ color: rgb(143, 131, 31); /* oklch */ color: oklch(60.3% 0.116 102.2);
Tailwind
colors: {
custom: {
50: '#b3a663',
500: '#8f831f',
950: '#000000',
},
}SCSS
$custom: #8f831f; $custom-light: #b3a663; $custom-dark: #000000;
JSON
{
"hex": "#8f831f",
"rgb": {
"r": 143,
"g": 131,
"b": 31
},
"hsl": {
"h": 53.571,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.60295,
"c": 0.11558,
"h": 102.2
},
"luminance": 0.22171
}Semantic roles & 50–950 ramp
primary
#8F831F
secondary
#4E5ABC
accent
#52E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A