#8A8B1A#8A8B1A
#8A8B1A is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.6% C 0.127 H 110.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8B1A |
|---|---|
| RGB | rgb(138, 139, 26) |
| HSL | hsl(61, 68%, 32%) |
| HSV | hsv(61, 81%, 55%) |
| CMYK | cmyk(0.7%, 0%, 81.3%, 45.5%) |
| CIE-LAB | lab(56.03, -13.58, 54.79) |
| CIE-LCH | lch(56.03, 56.44, 103.92°) |
| OKLab | oklab(61.63% -0.0436 0.1188) |
| OKLCH | oklch(61.63% 0.127 110.1) |
| XYZ | xyz(19.9011, 23.9437, 4.5504) |
| Luminance | 0.2394 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.08
Baby Poop Green
#8F9805
ΔE00 4.71
Baby Shit Green
#889717
ΔE00 4.79
Pea Soup
#929901
ΔE00 5.04
Swamp Green
#748500
ΔE00 5.29
Shit Green
#758000
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8B1A #1B1A8B
analogous
#8B541A #8A8B1A #528B1A
triadic
#8A8B1A #1A8A8B #8B1A8A
tetradic
#8A8B1A #1A8B54 #1B1A8B #8B1A52
square
#8A8B1A #1A8B54 #1B1A8B #8B1A52
split-complementary
#8A8B1A #1A528B #541A8B
monochromatic
#242407 #575710 #8A8B1A #BDBF24 #DBDC43
Accessibility & contrast
On white
3.63
#8A8B1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#8A8B1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8B1A
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8B1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8B1A | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#948277
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8a8b1a; /* rgb */ color: rgb(138, 139, 26); /* oklch */ color: oklch(61.6% 0.127 110.1);
Tailwind
colors: {
custom: {
50: '#b0ac62',
500: '#8a8b1a',
950: '#000000',
},
}SCSS
$custom: #8a8b1a; $custom-light: #b0ac62; $custom-dark: #000000;
JSON
{
"hex": "#8a8b1a",
"rgb": {
"r": 138,
"g": 139,
"b": 26
},
"hsl": {
"h": 60.531,
"s": 68.485,
"l": 32.353
},
"oklch": {
"l": 0.61631,
"c": 0.12656,
"h": 110.1
},
"luminance": 0.23943
}Semantic roles & 50–950 ramp
primary
#8A8B1A
secondary
#4544BD
accent
#3CEB3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A