#8B8A1E#8B8A1E
#8B8A1E is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.5% C 0.123 H 109.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8A1E |
|---|---|
| RGB | rgb(139, 138, 30) |
| HSL | hsl(59, 64%, 33%) |
| HSV | hsv(59, 78%, 55%) |
| CMYK | cmyk(0%, 0.7%, 78.4%, 45.5%) |
| CIE-LAB | lab(55.85, -12.43, 53.41) |
| CIE-LCH | lch(55.85, 54.84, 103.11°) |
| OKLab | oklab(61.51% -0.0401 0.1166) |
| OKLCH | oklch(61.51% 0.123 109) |
| XYZ | xyz(19.9711, 23.7603, 4.7622) |
| Luminance | 0.2376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.95
Baby Poop Green
#8F9805
ΔE00 5.26
Baby Shit Green
#889717
ΔE00 5.39
Pea Soup
#929901
ΔE00 5.54
Swamp Green
#748500
ΔE00 5.63
Shit Green
#758000
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8A1E #1E1F8B
analogous
#8B541E #8B8A1E #558B1E
triadic
#8B8A1E #1E8B8A #8A1E8B
tetradic
#8B8A1E #1E8B54 #1E1F8B #8B1E55
square
#8B8A1E #1E8B54 #1E1F8B #8B1E55
split-complementary
#8B8A1E #1E558B #541E8B
monochromatic
#262608 #595813 #8B8A1E #BDBC29 #D8D74B
Accessibility & contrast
On white
3.65
#8B8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#8B8A1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8A1E
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8A1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8A1E | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968401
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#958176
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8b8a1e; /* rgb */ color: rgb(139, 138, 30); /* oklch */ color: oklch(61.5% 0.123 109.0);
Tailwind
colors: {
custom: {
50: '#b0ab64',
500: '#8b8a1e',
950: '#000000',
},
}SCSS
$custom: #8b8a1e; $custom-light: #b0ab64; $custom-dark: #000000;
JSON
{
"hex": "#8b8a1e",
"rgb": {
"r": 139,
"g": 138,
"b": 30
},
"hsl": {
"h": 59.45,
"s": 64.497,
"l": 33.137
},
"oklch": {
"l": 0.61511,
"c": 0.12331,
"h": 109
},
"luminance": 0.2376
}Semantic roles & 50–950 ramp
primary
#8B8A1E
secondary
#4A4BBB
accent
#42E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A