#8D862F#8D862F
#8D862F is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.108 H 104.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8D862F |
|---|---|
| RGB | rgb(141, 134, 47) |
| HSL | hsl(56, 50%, 37%) |
| HSV | hsv(56, 67%, 55%) |
| CMYK | cmyk(0%, 5%, 66.7%, 44.7%) |
| CIE-LAB | lab(54.99, -8.47, 46.04) |
| CIE-LCH | lch(54.99, 46.82, 100.43°) |
| OKLab | oklab(60.91% -0.0273 0.1041) |
| OKLCH | oklch(60.91% 0.108 104.7) |
| XYZ | xyz(20.0234, 22.9189, 6.0578) |
| Luminance | 0.2292 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.74
Drab
#828344
ΔE00 5.27
Baby Poop
#937C00
ΔE00 6.57
Dark Khaki
#9B8F55
ΔE00 6.62
Shit Green
#758000
ΔE00 6.75
Swamp Green
#748500
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D862F #2F368D
analogous
#8D572F #8D862F #658D2F
triadic
#8D862F #2F8D86 #862F8D
tetradic
#8D862F #2F8D57 #2F368D #8D2F65
square
#8D862F #2F8D57 #2F368D #8D2F65
split-complementary
#8D862F #2F658D #572F8D
monochromatic
#312F10 #5F5A20 #8D862F #BBB23E #CDC669
Accessibility & contrast
On white
3.76
#8D862F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#8D862F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D862F
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D862F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D862F | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928124
Deuteranopia (green-blind)
#948534
Tritanopia (blue-blind)
#977D74
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8d862f; /* rgb */ color: rgb(141, 134, 47); /* oklch */ color: oklch(60.9% 0.108 104.7);
Tailwind
colors: {
custom: {
50: '#b1a96c',
500: '#8d862f',
950: '#000000',
},
}SCSS
$custom: #8d862f; $custom-light: #b1a96c; $custom-dark: #000000;
JSON
{
"hex": "#8d862f",
"rgb": {
"r": 141,
"g": 134,
"b": 47
},
"hsl": {
"h": 55.532,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.60906,
"c": 0.10761,
"h": 104.7
},
"luminance": 0.22918
}Semantic roles & 50–950 ramp
primary
#8D862F
secondary
#646AB4
accent
#59DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A