#8B8019#8B8019
#8B8019 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.2% C 0.116 H 102.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8019 |
|---|---|
| RGB | rgb(139, 128, 25) |
| HSL | hsl(54, 70%, 32%) |
| HSV | hsv(54, 82%, 55%) |
| CMYK | cmyk(0%, 7.9%, 82%, 45.5%) |
| CIE-LAB | lab(52.95, -7.20, 52.41) |
| CIE-LCH | lch(52.95, 52.90, 97.82°) |
| OKLab | oklab(59.19% -0.0259 0.1135) |
| OKLCH | oklch(59.19% 0.116 102.9) |
| XYZ | xyz(18.5430, 20.9983, 3.9959) |
| Luminance | 0.2100 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.55
Baby Poop
#937C00
ΔE00 4.07
Hazel
#8E7618
ΔE00 5.22
Ugly Brown
#7D7103
ΔE00 5.79
Diarrhea
#9F8303
ΔE00 5.97
Puke Brown
#947706
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8019 #19248B
analogous
#8B4719 #8B8019 #5D8B19
triadic
#8B8019 #198B80 #80198B
tetradic
#8B8019 #198B47 #19248B #8B195D
square
#8B8019 #198B47 #19248B #8B195D
split-complementary
#8B8019 #195D8B #47198B
monochromatic
#232006 #575010 #8B8019 #BFB022 #DDCE41
Accessibility & contrast
On white
4.04
#8B8019 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#8B8019 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8019
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8019 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8019 | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#96766D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8b8019; /* rgb */ color: rgb(139, 128, 25); /* oklch */ color: oklch(59.2% 0.116 102.9);
Tailwind
colors: {
custom: {
50: '#b1a460',
500: '#8b8019',
950: '#000000',
},
}SCSS
$custom: #8b8019; $custom-light: #b1a460; $custom-dark: #000000;
JSON
{
"hex": "#8b8019",
"rgb": {
"r": 139,
"g": 128,
"b": 25
},
"hsl": {
"h": 54.211,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.59192,
"c": 0.11639,
"h": 102.9
},
"luminance": 0.20997
}Semantic roles & 50–950 ramp
primary
#8B8019
secondary
#424EBE
accent
#4DEC3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A