#8D8626#8D8626
#8D8626 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.8% C 0.114 H 105.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8626 |
|---|---|
| RGB | rgb(141, 134, 38) |
| HSL | hsl(56, 58%, 35%) |
| HSV | hsv(56, 73%, 55%) |
| CMYK | cmyk(0%, 5%, 73%, 44.7%) |
| CIE-LAB | lab(54.92, -8.99, 49.72) |
| CIE-LCH | lch(54.92, 50.53, 100.25°) |
| OKLab | oklab(60.83% -0.0298 0.1103) |
| OKLCH | oklch(60.83% 0.114 105.1) |
| XYZ | xyz(19.8603, 22.8536, 5.1984) |
| Luminance | 0.2285 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.00
Baby Poop
#937C00
ΔE00 6.07
Drab
#828344
ΔE00 6.27
Shit Green
#758000
ΔE00 6.34
Swamp Green
#748500
ΔE00 6.96
Diarrhea
#9F8303
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8626 #262D8D
analogous
#8D5226 #8D8626 #618D26
triadic
#8D8626 #268D86 #86268D
tetradic
#8D8626 #268D52 #262D8D #8D2661
square
#8D8626 #268D52 #262D8D #8D2661
split-complementary
#8D8626 #26618D #52268D
monochromatic
#2D2A0C #5D5819 #8D8626 #BDB433 #D3CB5B
Accessibility & contrast
On white
3.77
#8D8626 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#8D8626 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8626
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8626 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8626 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#95852D
Tritanopia (blue-blind)
#987D73
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8d8626; /* rgb */ color: rgb(141, 134, 38); /* oklch */ color: oklch(60.8% 0.114 105.1);
Tailwind
colors: {
custom: {
50: '#b1a867',
500: '#8d8626',
950: '#000000',
},
}SCSS
$custom: #8d8626; $custom-light: #b1a867; $custom-dark: #000000;
JSON
{
"hex": "#8d8626",
"rgb": {
"r": 141,
"g": 134,
"b": 38
},
"hsl": {
"h": 55.922,
"s": 57.542,
"l": 35.098
},
"oklch": {
"l": 0.60831,
"c": 0.11421,
"h": 105.1
},
"luminance": 0.22853
}Semantic roles & 50–950 ramp
primary
#8D8626
secondary
#575EB8
accent
#51E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A