#8F8822#8F8822
#8F8822 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.4% C 0.118 H 105.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8822 |
|---|---|
| RGB | rgb(143, 136, 34) |
| HSL | hsl(56, 62%, 35%) |
| HSV | hsv(56, 76%, 56%) |
| CMYK | cmyk(0%, 4.9%, 76.2%, 43.9%) |
| CIE-LAB | lab(55.65, -9.36, 51.98) |
| CIE-LCH | lch(55.65, 52.82, 100.21°) |
| OKLab | oklab(61.45% -0.0314 0.1142) |
| OKLCH | oklch(61.45% 0.118 105.4) |
| XYZ | xyz(20.4214, 23.5642, 4.9857) |
| Luminance | 0.2356 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.26
Baby Poop
#937C00
ΔE00 6.20
Baby Poop Green
#8F9805
ΔE00 6.59
Shit Green
#758000
ΔE00 6.64
Pea Soup
#929901
ΔE00 6.71
Diarrhea
#9F8303
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8822 #22298F
analogous
#8F5222 #8F8822 #5F8F22
triadic
#8F8822 #228F88 #88228F
tetradic
#8F8822 #228F52 #22298F #8F225F
square
#8F8822 #228F52 #22298F #8F225F
split-complementary
#8F8822 #225F8F #52228F
monochromatic
#2C2A0A #5E5916 #8F8822 #C0B72E #D7CE55
Accessibility & contrast
On white
3.68
#8F8822 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#8F8822 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8822
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8822 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8822 | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94830D
Deuteranopia (green-blind)
#97872A
Tritanopia (blue-blind)
#9A7E75
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8f8822; /* rgb */ color: rgb(143, 136, 34); /* oklch */ color: oklch(61.4% 0.118 105.4);
Tailwind
colors: {
custom: {
50: '#b3aa66',
500: '#8f8822',
950: '#000000',
},
}SCSS
$custom: #8f8822; $custom-light: #b3aa66; $custom-dark: #000000;
JSON
{
"hex": "#8f8822",
"rgb": {
"r": 143,
"g": 136,
"b": 34
},
"hsl": {
"h": 56.147,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.61446,
"c": 0.11841,
"h": 105.4
},
"luminance": 0.23563
}Semantic roles & 50–950 ramp
primary
#8F8822
secondary
#5259BA
accent
#4DE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A