#8F8027#8F8027
#8F8027 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.7% C 0.108 H 99.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8027 |
|---|---|
| RGB | rgb(143, 128, 39) |
| HSL | hsl(51, 57%, 36%) |
| HSV | hsv(51, 73%, 56%) |
| CMYK | cmyk(0%, 10.5%, 72.7%, 43.9%) |
| CIE-LAB | lab(53.41, -4.73, 47.90) |
| CIE-LCH | lch(53.41, 48.14, 95.64°) |
| OKLab | oklab(59.68% -0.0177 0.1065) |
| OKLCH | oklch(59.68% 0.108 99.5) |
| XYZ | xyz(19.4140, 21.4254, 5.0320) |
| Luminance | 0.2142 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.84
Hazel
#8E7618
ΔE00 4.38
Olive
#808000
ΔE00 5.39
Diarrhea
#9F8303
ΔE00 5.40
Puke Brown
#947706
ΔE00 5.42
Poo
#8F7303
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8027 #27368F
analogous
#8F4C27 #8F8027 #6A8F27
triadic
#8F8027 #278F80 #80278F
tetradic
#8F8027 #278F4C #27368F #8F276A
square
#8F8027 #278F4C #27368F #8F276A
split-complementary
#8F8027 #276A8F #4C278F
monochromatic
#2F2A0D #5F551A #8F8027 #BFAB34 #D3C25D
Accessibility & contrast
On white
3.97
#8F8027 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#8F8027 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8027
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8027 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8027 | 1.00 | 3.97 | 5.28 | 5.28 |
| #FFFFFF | 3.97 | 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)
#8D7C19
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#9A766E
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8f8027; /* rgb */ color: rgb(143, 128, 39); /* oklch */ color: oklch(59.7% 0.108 99.5);
Tailwind
colors: {
custom: {
50: '#b3a467',
500: '#8f8027',
950: '#000000',
},
}SCSS
$custom: #8f8027; $custom-light: #b3a467; $custom-dark: #000000;
JSON
{
"hex": "#8f8027",
"rgb": {
"r": 143,
"g": 128,
"b": 39
},
"hsl": {
"h": 51.346,
"s": 57.143,
"l": 35.686
},
"oklch": {
"l": 0.59678,
"c": 0.10799,
"h": 99.5
},
"luminance": 0.21424
}Semantic roles & 50–950 ramp
primary
#8F8027
secondary
#5A67B8
accent
#5DE047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A