#8A8B27#8A8B27
#8A8B27 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.7% C 0.119 H 110.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8B27 |
|---|---|
| RGB | rgb(138, 139, 39) |
| HSL | hsl(61, 56%, 35%) |
| HSV | hsv(61, 72%, 55%) |
| CMYK | cmyk(0.7%, 0%, 71.9%, 45.5%) |
| CIE-LAB | lab(56.10, -13.00, 50.40) |
| CIE-LCH | lch(56.10, 52.05, 104.46°) |
| OKLab | oklab(61.71% -0.0408 0.112) |
| OKLCH | oklch(61.71% 0.119 110) |
| XYZ | xyz(20.0807, 24.0156, 5.4967) |
| Luminance | 0.2402 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.53
Baby Shit Green
#889717
ΔE00 5.05
Baby Poop Green
#8F9805
ΔE00 5.32
Swamp Green
#748500
ΔE00 5.47
Shit Green
#758000
ΔE00 5.69
Pea Soup
#929901
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8B27 #28278B
analogous
#8B5A27 #8A8B27 #588B27
triadic
#8A8B27 #278A8B #8B278A
tetradic
#8A8B27 #278B5A #28278B #8B2758
square
#8A8B27 #278B5A #28278B #8B2758
split-complementary
#8A8B27 #27588B #5A278B
monochromatic
#2B2B0C #5B5B1A #8A8B27 #B9BB34 #D0D15B
Accessibility & contrast
On white
3.62
#8A8B27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#8A8B27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8B27
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8B27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8B27 | 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)
#968516
Deuteranopia (green-blind)
#97882E
Tritanopia (blue-blind)
#948277
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8a8b27; /* rgb */ color: rgb(138, 139, 39); /* oklch */ color: oklch(61.7% 0.119 110.0);
Tailwind
colors: {
custom: {
50: '#afac68',
500: '#8a8b27',
950: '#000000',
},
}SCSS
$custom: #8a8b27; $custom-light: #afac68; $custom-dark: #000000;
JSON
{
"hex": "#8a8b27",
"rgb": {
"r": 138,
"g": 139,
"b": 39
},
"hsl": {
"h": 60.6,
"s": 56.18,
"l": 34.902
},
"oklch": {
"l": 0.61712,
"c": 0.11916,
"h": 110
},
"luminance": 0.24015
}Semantic roles & 50–950 ramp
primary
#8A8B27
secondary
#5958B6
accent
#48DF4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A