#8F8326#8F8326
#8F8326 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.3% C 0.111 H 101.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8326 |
|---|---|
| RGB | rgb(143, 131, 38) |
| HSL | hsl(53, 58%, 35%) |
| HSV | hsv(53, 73%, 56%) |
| CMYK | cmyk(0%, 8.4%, 73.4%, 43.9%) |
| CIE-LAB | lab(54.25, -6.44, 49.13) |
| CIE-LCH | lch(54.25, 49.55, 97.46°) |
| OKLab | oklab(60.34% -0.0227 0.1089) |
| OKLCH | oklch(60.34% 0.111 101.8) |
| XYZ | xyz(19.7947, 22.2130, 5.0782) |
| Luminance | 0.2221 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.58
Olive
#808000
ΔE00 4.67
Hazel
#8E7618
ΔE00 5.68
Diarrhea
#9F8303
ΔE00 5.72
Puke Brown
#947706
ΔE00 6.55
Drab
#828344
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8326 #26328F
analogous
#8F4E26 #8F8326 #668F26
triadic
#8F8326 #268F83 #83268F
tetradic
#8F8326 #268F4E #26328F #8F2666
square
#8F8326 #268F4E #26328F #8F2666
split-complementary
#8F8326 #26668F #4E268F
monochromatic
#2E2A0C #5F5719 #8F8326 #BFAF33 #D4C65C
Accessibility & contrast
On white
3.86
#8F8326 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#8F8326 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8326
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8326 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8326 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F17
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#9A7971
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8f8326; /* rgb */ color: rgb(143, 131, 38); /* oklch */ color: oklch(60.3% 0.111 101.8);
Tailwind
colors: {
custom: {
50: '#b3a667',
500: '#8f8326',
950: '#000000',
},
}SCSS
$custom: #8f8326; $custom-light: #b3a667; $custom-dark: #000000;
JSON
{
"hex": "#8f8326",
"rgb": {
"r": 143,
"g": 131,
"b": 38
},
"hsl": {
"h": 53.143,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.60343,
"c": 0.11126,
"h": 101.8
},
"luminance": 0.22212
}Semantic roles & 50–950 ramp
primary
#8F8326
secondary
#5863B9
accent
#58E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A