#8F801F#8F801F
#8F801F is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.113 H 100.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8F801F |
|---|---|
| RGB | rgb(143, 128, 31) |
| HSL | hsl(52, 64%, 34%) |
| HSV | hsv(52, 78%, 56%) |
| CMYK | cmyk(0%, 10.5%, 78.3%, 43.9%) |
| CIE-LAB | lab(53.36, -5.11, 50.92) |
| CIE-LCH | lch(53.36, 51.18, 95.73°) |
| OKLab | oklab(59.62% -0.0197 0.1113) |
| OKLCH | oklch(59.62% 0.113 100) |
| XYZ | xyz(19.2951, 21.3778, 4.4061) |
| Luminance | 0.2138 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.25
Hazel
#8E7618
ΔE00 4.37
Olive
#808000
ΔE00 4.95
Diarrhea
#9F8303
ΔE00 4.96
Puke Brown
#947706
ΔE00 5.19
Poo
#8F7303
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F801F #1F2E8F
analogous
#8F481F #8F801F #668F1F
triadic
#8F801F #1F8F80 #801F8F
tetradic
#8F801F #1F8F48 #1F2E8F #8F1F66
square
#8F801F #1F8F48 #1F2E8F #8F1F66
split-complementary
#8F801F #1F668F #481F8F
monochromatic
#2A2609 #5D5314 #8F801F #C1AD2A #D9C74F
Accessibility & contrast
On white
3.98
#8F801F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#8F801F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F801F
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F801F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F801F | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C0A
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#9B766E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8f801f; /* rgb */ color: rgb(143, 128, 31); /* oklch */ color: oklch(59.6% 0.113 100.0);
Tailwind
colors: {
custom: {
50: '#b3a463',
500: '#8f801f',
950: '#000000',
},
}SCSS
$custom: #8f801f; $custom-light: #b3a463; $custom-dark: #000000;
JSON
{
"hex": "#8f801f",
"rgb": {
"r": 143,
"g": 128,
"b": 31
},
"hsl": {
"h": 51.964,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.59621,
"c": 0.11305,
"h": 100
},
"luminance": 0.21377
}Semantic roles & 50–950 ramp
primary
#8F801F
secondary
#4E5DBC
accent
#57E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A