#8F8522#8F8522
#8F8522 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.8% C 0.116 H 103.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8522 |
|---|---|
| RGB | rgb(143, 133, 34) |
| HSL | hsl(54, 62%, 35%) |
| HSV | hsv(54, 76%, 56%) |
| CMYK | cmyk(0%, 7%, 76.2%, 43.9%) |
| CIE-LAB | lab(54.79, -7.73, 51.18) |
| CIE-LCH | lch(54.79, 51.76, 98.59°) |
| OKLab | oklab(60.77% -0.0268 0.1125) |
| OKLCH | oklch(60.77% 0.116 103.4) |
| XYZ | xyz(20.0048, 22.7310, 4.8468) |
| Luminance | 0.2273 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.24
Baby Poop
#937C00
ΔE00 5.08
Diarrhea
#9F8303
ΔE00 5.95
Hazel
#8E7618
ΔE00 6.56
Shit Green
#758000
ΔE00 6.93
Drab
#828344
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8522 #222C8F
analogous
#8F4E22 #8F8522 #638F22
triadic
#8F8522 #228F85 #85228F
tetradic
#8F8522 #228F4E #222C8F #8F2263
square
#8F8522 #228F4E #222C8F #8F2263
split-complementary
#8F8522 #22638F #4E228F
monochromatic
#2C290A #5E5716 #8F8522 #C0B32E #D7CB55
Accessibility & contrast
On white
3.79
#8F8522 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#8F8522 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8522
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8522 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8522 | 1.00 | 3.79 | 5.55 | 5.55 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92800E
Deuteranopia (green-blind)
#958529
Tritanopia (blue-blind)
#9A7B72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8f8522; /* rgb */ color: rgb(143, 133, 34); /* oklch */ color: oklch(60.8% 0.116 103.4);
Tailwind
colors: {
custom: {
50: '#b3a865',
500: '#8f8522',
950: '#000000',
},
}SCSS
$custom: #8f8522; $custom-light: #b3a865; $custom-dark: #000000;
JSON
{
"hex": "#8f8522",
"rgb": {
"r": 143,
"g": 133,
"b": 34
},
"hsl": {
"h": 54.495,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.60765,
"c": 0.11561,
"h": 103.4
},
"luminance": 0.2273
}Semantic roles & 50–950 ramp
primary
#8F8522
secondary
#525CBA
accent
#52E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A