#8A8B1E#8A8B1E
#8A8B1E is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.7% C 0.125 H 110.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8B1E |
|---|---|
| RGB | rgb(138, 139, 30) |
| HSL | hsl(61, 64%, 33%) |
| HSV | hsv(61, 78%, 55%) |
| CMYK | cmyk(0.7%, 0%, 78.4%, 45.5%) |
| CIE-LAB | lab(56.05, -13.42, 53.56) |
| CIE-LCH | lch(56.05, 55.22, 104.07°) |
| OKLab | oklab(61.65% -0.0428 0.117) |
| OKLCH | oklch(61.65% 0.125 110.1) |
| XYZ | xyz(19.9489, 23.9628, 4.8025) |
| Luminance | 0.2396 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.17
Baby Shit Green
#889717
ΔE00 4.83
Baby Poop Green
#8F9805
ΔE00 4.85
Pea Soup
#929901
ΔE00 5.19
Swamp Green
#748500
ΔE00 5.30
Shit Green
#758000
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8B1E #1F1E8B
analogous
#8B551E #8A8B1E #548B1E
triadic
#8A8B1E #1E8A8B #8B1E8A
tetradic
#8A8B1E #1E8B55 #1F1E8B #8B1E54
square
#8A8B1E #1E8B55 #1F1E8B #8B1E54
split-complementary
#8A8B1E #1E548B #551E8B
monochromatic
#262608 #585913 #8A8B1E #BCBD29 #D7D84B
Accessibility & contrast
On white
3.63
#8A8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#8A8B1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8B1E
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8B1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8B1E | 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)
#978501
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#948277
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8a8b1e; /* rgb */ color: rgb(138, 139, 30); /* oklch */ color: oklch(61.7% 0.125 110.1);
Tailwind
colors: {
custom: {
50: '#b0ac64',
500: '#8a8b1e',
950: '#000000',
},
}SCSS
$custom: #8a8b1e; $custom-light: #b0ac64; $custom-dark: #000000;
JSON
{
"hex": "#8a8b1e",
"rgb": {
"r": 138,
"g": 139,
"b": 30
},
"hsl": {
"h": 60.55,
"s": 64.497,
"l": 33.137
},
"oklch": {
"l": 0.61652,
"c": 0.12456,
"h": 110.1
},
"luminance": 0.23962
}Semantic roles & 50–950 ramp
primary
#8A8B1E
secondary
#4B4ABB
accent
#40E742
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A