#8F8028#8F8028
#8F8028 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.7% C 0.107 H 99.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8028 |
|---|---|
| RGB | rgb(143, 128, 40) |
| HSL | hsl(51, 56%, 36%) |
| HSV | hsv(51, 72%, 56%) |
| CMYK | cmyk(0%, 10.5%, 72%, 43.9%) |
| CIE-LAB | lab(53.42, -4.67, 47.50) |
| CIE-LCH | lch(53.42, 47.73, 95.62°) |
| OKLab | oklab(59.69% -0.0175 0.1059) |
| OKLCH | oklch(59.69% 0.107 99.4) |
| XYZ | xyz(19.4308, 21.4321, 5.1204) |
| Luminance | 0.2143 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.93
Hazel
#8E7618
ΔE00 4.40
Puke Brown
#947706
ΔE00 5.46
Olive
#808000
ΔE00 5.47
Diarrhea
#9F8303
ΔE00 5.47
Poo
#8F7303
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8028 #28378F
analogous
#8F4C28 #8F8028 #6A8F28
triadic
#8F8028 #288F80 #80288F
tetradic
#8F8028 #288F4C #28378F #8F286A
square
#8F8028 #288F4C #28378F #8F286A
split-complementary
#8F8028 #286A8F #4C288F
monochromatic
#2F2A0D #5F551B #8F8028 #BFAB35 #D2C25F
Accessibility & contrast
On white
3.97
#8F8028 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#8F8028 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8028
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8028 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8028 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C1B
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#9A766E
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8f8028; /* rgb */ color: rgb(143, 128, 40); /* oklch */ color: oklch(59.7% 0.107 99.4);
Tailwind
colors: {
custom: {
50: '#b3a468',
500: '#8f8028',
950: '#000000',
},
}SCSS
$custom: #8f8028; $custom-light: #b3a468; $custom-dark: #000000;
JSON
{
"hex": "#8f8028",
"rgb": {
"r": 143,
"g": 128,
"b": 40
},
"hsl": {
"h": 51.262,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.59686,
"c": 0.10728,
"h": 99.4
},
"luminance": 0.21431
}Semantic roles & 50–950 ramp
primary
#8F8028
secondary
#5B69B8
accent
#5EE048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A