#8F8622#8F8622
#8F8622 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.0% C 0.117 H 104.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8622 |
|---|---|
| RGB | rgb(143, 134, 34) |
| HSL | hsl(55, 62%, 35%) |
| HSV | hsv(55, 76%, 56%) |
| CMYK | cmyk(0%, 6.3%, 76.2%, 43.9%) |
| CIE-LAB | lab(55.08, -8.27, 51.45) |
| CIE-LCH | lch(55.08, 52.11, 99.14°) |
| OKLab | oklab(60.99% -0.0283 0.113) |
| OKLCH | oklch(60.99% 0.117 104.1) |
| XYZ | xyz(20.1424, 23.0062, 4.8927) |
| Luminance | 0.2301 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.20
Baby Poop
#937C00
ΔE00 5.45
Diarrhea
#9F8303
ΔE00 6.20
Shit Green
#758000
ΔE00 6.81
Hazel
#8E7618
ΔE00 6.99
Drab
#828344
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8622 #222B8F
analogous
#8F5022 #8F8622 #628F22
triadic
#8F8622 #228F86 #86228F
tetradic
#8F8622 #228F50 #222B8F #8F2262
square
#8F8622 #228F50 #222B8F #8F2262
split-complementary
#8F8622 #22628F #50228F
monochromatic
#2C290A #5E5816 #8F8622 #C0B42E #D7CC55
Accessibility & contrast
On white
3.75
#8F8622 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#8F8622 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8622
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8622 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8622 | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#9A7C73
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8f8622; /* rgb */ color: rgb(143, 134, 34); /* oklch */ color: oklch(61.0% 0.117 104.1);
Tailwind
colors: {
custom: {
50: '#b3a865',
500: '#8f8622',
950: '#000000',
},
}SCSS
$custom: #8f8622; $custom-light: #b3a865; $custom-dark: #000000;
JSON
{
"hex": "#8f8622",
"rgb": {
"r": 143,
"g": 134,
"b": 34
},
"hsl": {
"h": 55.046,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.60992,
"c": 0.11653,
"h": 104.1
},
"luminance": 0.23005
}Semantic roles & 50–950 ramp
primary
#8F8622
secondary
#525BBA
accent
#50E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A