#8F8331#8F8331
#8F8331 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.4% C 0.103 H 101.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8331 |
|---|---|
| RGB | rgb(143, 131, 49) |
| HSL | hsl(52, 49%, 38%) |
| HSV | hsv(52, 66%, 56%) |
| CMYK | cmyk(0%, 8.4%, 65.7%, 43.9%) |
| CIE-LAB | lab(54.34, -5.79, 44.52) |
| CIE-LCH | lch(54.34, 44.89, 97.41°) |
| OKLab | oklab(60.44% -0.0196 0.1011) |
| OKLCH | oklch(60.44% 0.103 101) |
| XYZ | xyz(19.9992, 22.2948, 6.1550) |
| Luminance | 0.2229 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 5.46
Olive
#808000
ΔE00 5.61
Drab
#828344
ΔE00 5.66
Hazel
#8E7618
ΔE00 5.89
Dark Khaki
#9B8F55
ΔE00 6.35
Diarrhea
#9F8303
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8331 #313D8F
analogous
#8F5431 #8F8331 #6C8F31
triadic
#8F8331 #318F83 #83318F
tetradic
#8F8331 #318F54 #313D8F #8F316C
square
#8F8331 #318F54 #313D8F #8F316C
split-complementary
#8F8331 #316C8F #54318F
monochromatic
#342F12 #615921 #8F8331 #BDAD41 #CDC16D
Accessibility & contrast
On white
3.85
#8F8331 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#8F8331 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8331
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8331 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8331 | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F27
Deuteranopia (green-blind)
#928436
Tritanopia (blue-blind)
#9A7A72
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8f8331; /* rgb */ color: rgb(143, 131, 49); /* oklch */ color: oklch(60.4% 0.103 101.0);
Tailwind
colors: {
custom: {
50: '#b2a66d',
500: '#8f8331',
950: '#000000',
},
}SCSS
$custom: #8f8331; $custom-light: #b2a66d; $custom-dark: #000000;
JSON
{
"hex": "#8f8331",
"rgb": {
"r": 143,
"g": 131,
"b": 49
},
"hsl": {
"h": 52.34,
"s": 48.958,
"l": 37.647
},
"oklch": {
"l": 0.60439,
"c": 0.103,
"h": 101
},
"luminance": 0.22294
}Semantic roles & 50–950 ramp
primary
#8F8331
secondary
#6771B5
accent
#61D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A