#8F8420#8F8420
#8F8420 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.5% C 0.116 H 102.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8420 |
|---|---|
| RGB | rgb(143, 132, 32) |
| HSL | hsl(54, 63%, 34%) |
| HSV | hsv(54, 78%, 56%) |
| CMYK | cmyk(0%, 7.7%, 77.6%, 43.9%) |
| CIE-LAB | lab(54.50, -7.27, 51.62) |
| CIE-LCH | lch(54.50, 52.13, 98.02°) |
| OKLab | oklab(60.53% -0.0257 0.113) |
| OKLCH | oklch(60.53% 0.116 102.8) |
| XYZ | xyz(19.8406, 22.4473, 4.6539) |
| Luminance | 0.2245 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.24
Baby Poop
#937C00
ΔE00 4.64
Diarrhea
#9F8303
ΔE00 5.65
Hazel
#8E7618
ΔE00 6.13
Puke Brown
#947706
ΔE00 6.85
Shit Green
#758000
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8420 #202B8F
analogous
#8F4D20 #8F8420 #638F20
triadic
#8F8420 #208F84 #84208F
tetradic
#8F8420 #208F4D #202B8F #8F2063
square
#8F8420 #208F4D #202B8F #8F2063
split-complementary
#8F8420 #20638F #4D208F
monochromatic
#2B280A #5D5615 #8F8420 #C1B22B #D8CB51
Accessibility & contrast
On white
3.83
#8F8420 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#8F8420 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8420
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8420 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8420 | 1.00 | 3.83 | 5.49 | 5.49 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#948527
Tritanopia (blue-blind)
#9A7A71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8f8420; /* rgb */ color: rgb(143, 132, 32); /* oklch */ color: oklch(60.5% 0.116 102.8);
Tailwind
colors: {
custom: {
50: '#b3a764',
500: '#8f8420',
950: '#000000',
},
}SCSS
$custom: #8f8420; $custom-light: #b3a764; $custom-dark: #000000;
JSON
{
"hex": "#8f8420",
"rgb": {
"r": 143,
"g": 132,
"b": 32
},
"hsl": {
"h": 54.054,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.60526,
"c": 0.1159,
"h": 102.8
},
"luminance": 0.22446
}Semantic roles & 50–950 ramp
primary
#8F8420
secondary
#4F5ABB
accent
#52E641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A