#8F8732#8F8732
#8F8732 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.3% C 0.106 H 103.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8732 |
|---|---|
| RGB | rgb(143, 135, 50) |
| HSL | hsl(55, 48%, 38%) |
| HSV | hsv(55, 65%, 56%) |
| CMYK | cmyk(0%, 5.6%, 65%, 43.9%) |
| CIE-LAB | lab(55.48, -7.92, 45.28) |
| CIE-LCH | lch(55.48, 45.97, 99.92°) |
| OKLab | oklab(61.35% -0.0255 0.1029) |
| OKLCH | oklch(61.35% 0.106 103.9) |
| XYZ | xyz(20.5682, 23.3986, 6.4499) |
| Luminance | 0.2340 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.31
Drab
#828344
ΔE00 5.35
Dark Khaki
#9B8F55
ΔE00 6.08
Baby Poop
#937C00
ΔE00 6.66
Diarrhea
#9F8303
ΔE00 7.29
Shit Green
#758000
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8732 #323A8F
analogous
#8F5932 #8F8732 #688F32
triadic
#8F8732 #328F87 #87328F
tetradic
#8F8732 #328F59 #323A8F #8F3268
square
#8F8732 #328F59 #323A8F #8F3268
split-complementary
#8F8732 #32688F #59328F
monochromatic
#343112 #625C22 #8F8732 #BCB242 #CDC56F
Accessibility & contrast
On white
3.70
#8F8732 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#8F8732 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8732
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8732 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8732 | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938328
Deuteranopia (green-blind)
#958737
Tritanopia (blue-blind)
#997E75
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8f8732; /* rgb */ color: rgb(143, 135, 50); /* oklch */ color: oklch(61.3% 0.106 103.9);
Tailwind
colors: {
custom: {
50: '#b2a96e',
500: '#8f8732',
950: '#000000',
},
}SCSS
$custom: #8f8732; $custom-light: #b2a96e; $custom-dark: #000000;
JSON
{
"hex": "#8f8732",
"rgb": {
"r": 143,
"g": 135,
"b": 50
},
"hsl": {
"h": 54.839,
"s": 48.187,
"l": 37.843
},
"oklch": {
"l": 0.61349,
"c": 0.10601,
"h": 103.9
},
"luminance": 0.23398
}Semantic roles & 50–950 ramp
primary
#8F8732
secondary
#686FB4
accent
#5CD850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A