#8A8B26#8A8B26
#8A8B26 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.7% C 0.120 H 110.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8B26 |
|---|---|
| RGB | rgb(138, 139, 38) |
| HSL | hsl(61, 57%, 35%) |
| HSV | hsv(61, 73%, 55%) |
| CMYK | cmyk(0.7%, 0%, 72.7%, 45.5%) |
| CIE-LAB | lab(56.10, -13.05, 50.78) |
| CIE-LCH | lch(56.10, 52.43, 104.41°) |
| OKLab | oklab(61.7% -0.041 0.1126) |
| OKLCH | oklch(61.7% 0.12 110) |
| XYZ | xyz(20.0644, 24.0090, 5.4106) |
| Luminance | 0.2401 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.48
Baby Shit Green
#889717
ΔE00 5.01
Baby Poop Green
#8F9805
ΔE00 5.25
Swamp Green
#748500
ΔE00 5.44
Pea Soup
#929901
ΔE00 5.62
Shit Green
#758000
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8B26 #27268B
analogous
#8B5A26 #8A8B26 #588B26
triadic
#8A8B26 #268A8B #8B268A
tetradic
#8A8B26 #268B5A #27268B #8B2658
square
#8A8B26 #268B5A #27268B #8B2658
split-complementary
#8A8B26 #26588B #5A268B
monochromatic
#2B2B0C #5A5B19 #8A8B26 #BABB33 #D1D25A
Accessibility & contrast
On white
3.62
#8A8B26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#8A8B26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8B26
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8B26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8B26 | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968514
Deuteranopia (green-blind)
#97882E
Tritanopia (blue-blind)
#948277
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8a8b26; /* rgb */ color: rgb(138, 139, 38); /* oklch */ color: oklch(61.7% 0.120 110.0);
Tailwind
colors: {
custom: {
50: '#afac68',
500: '#8a8b26',
950: '#000000',
},
}SCSS
$custom: #8a8b26; $custom-light: #afac68; $custom-dark: #000000;
JSON
{
"hex": "#8a8b26",
"rgb": {
"r": 138,
"g": 139,
"b": 38
},
"hsl": {
"h": 60.594,
"s": 57.062,
"l": 34.706
},
"oklch": {
"l": 0.61704,
"c": 0.11982,
"h": 110
},
"luminance": 0.24008
}Semantic roles & 50–950 ramp
primary
#8A8B26
secondary
#5756B7
accent
#47E049
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A