#8F8926#8F8926
#8F8926 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.117 H 105.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8926 |
|---|---|
| RGB | rgb(143, 137, 38) |
| HSL | hsl(57, 58%, 35%) |
| HSV | hsv(57, 73%, 56%) |
| CMYK | cmyk(0%, 4.2%, 73.4%, 43.9%) |
| CIE-LAB | lab(55.96, -9.71, 50.79) |
| CIE-LCH | lch(55.96, 51.71, 100.82°) |
| OKLab | oklab(61.7% -0.0319 0.1124) |
| OKLCH | oklch(61.7% 0.117 105.9) |
| XYZ | xyz(20.6240, 23.8717, 5.3547) |
| Luminance | 0.2387 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.51
Baby Poop Green
#8F9805
ΔE00 6.36
Pea Soup
#929901
ΔE00 6.51
Shit Green
#758000
ΔE00 6.68
Baby Shit Green
#889717
ΔE00 6.68
Baby Poop
#937C00
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8926 #262C8F
analogous
#8F5426 #8F8926 #618F26
triadic
#8F8926 #268F89 #89268F
tetradic
#8F8926 #268F54 #262C8F #8F2661
square
#8F8926 #268F54 #262C8F #8F2661
split-complementary
#8F8926 #26618F #54268F
monochromatic
#2E2C0C #5F5B19 #8F8926 #BFB733 #D4CD5C
Accessibility & contrast
On white
3.64
#8F8926 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#8F8926 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8926
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8926 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8926 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958415
Deuteranopia (green-blind)
#98882D
Tritanopia (blue-blind)
#9A8076
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8f8926; /* rgb */ color: rgb(143, 137, 38); /* oklch */ color: oklch(61.7% 0.117 105.9);
Tailwind
colors: {
custom: {
50: '#b3ab68',
500: '#8f8926',
950: '#000000',
},
}SCSS
$custom: #8f8926; $custom-light: #b3ab68; $custom-dark: #000000;
JSON
{
"hex": "#8f8926",
"rgb": {
"r": 143,
"g": 137,
"b": 38
},
"hsl": {
"h": 56.571,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.617,
"c": 0.11688,
"h": 105.9
},
"luminance": 0.23871
}Semantic roles & 50–950 ramp
primary
#8F8926
secondary
#585EB9
accent
#4FE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A