#8B8427#8B8427
#8B8427 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.2% C 0.112 H 105.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8427 |
|---|---|
| RGB | rgb(139, 132, 39) |
| HSL | hsl(56, 56%, 35%) |
| HSV | hsv(56, 72%, 55%) |
| CMYK | cmyk(0%, 5%, 71.9%, 45.5%) |
| CIE-LAB | lab(54.17, -8.76, 48.53) |
| CIE-LCH | lch(54.17, 49.32, 100.24°) |
| OKLab | oklab(60.19% -0.0289 0.108) |
| OKLCH | oklch(60.19% 0.112 105) |
| XYZ | xyz(19.2657, 22.1387, 5.1774) |
| Luminance | 0.2214 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.75
Drab
#828344
ΔE00 5.82
Baby Poop
#937C00
ΔE00 5.94
Shit Green
#758000
ΔE00 6.07
Swamp Green
#748500
ΔE00 6.87
Hazel
#8E7618
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8427 #272E8B
analogous
#8B5227 #8B8427 #608B27
triadic
#8B8427 #278B84 #84278B
tetradic
#8B8427 #278B52 #272E8B #8B2760
square
#8B8427 #278B52 #272E8B #8B2760
split-complementary
#8B8427 #27608B #52278B
monochromatic
#2B290C #5B571A #8B8427 #BBB134 #D1C95B
Accessibility & contrast
On white
3.87
#8B8427 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#8B8427 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8427
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8427 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8427 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F18
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#967B72
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8b8427; /* rgb */ color: rgb(139, 132, 39); /* oklch */ color: oklch(60.2% 0.112 105.0);
Tailwind
colors: {
custom: {
50: '#b0a768',
500: '#8b8427',
950: '#000000',
},
}SCSS
$custom: #8b8427; $custom-light: #b0a768; $custom-dark: #000000;
JSON
{
"hex": "#8b8427",
"rgb": {
"r": 139,
"g": 132,
"b": 39
},
"hsl": {
"h": 55.8,
"s": 56.18,
"l": 34.902
},
"oklch": {
"l": 0.60194,
"c": 0.1118,
"h": 105
},
"luminance": 0.22138
}Semantic roles & 50–950 ramp
primary
#8B8427
secondary
#585EB6
accent
#53DF48
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A