#8D851F#8D851F
#8D851F is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.6% C 0.118 H 104.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8D851F |
|---|---|
| RGB | rgb(141, 133, 31) |
| HSL | hsl(56, 64%, 34%) |
| HSV | hsv(56, 78%, 55%) |
| CMYK | cmyk(0%, 5.7%, 78%, 44.7%) |
| CIE-LAB | lab(54.59, -8.78, 51.99) |
| CIE-LCH | lch(54.59, 52.73, 99.58°) |
| OKLab | oklab(60.56% -0.0299 0.1137) |
| OKLCH | oklch(60.56% 0.118 104.7) |
| XYZ | xyz(19.6202, 22.5375, 4.6127) |
| Luminance | 0.2254 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.64
Baby Poop
#937C00
ΔE00 5.45
Shit Green
#758000
ΔE00 6.30
Diarrhea
#9F8303
ΔE00 6.47
Hazel
#8E7618
ΔE00 6.93
Drab
#828344
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D851F #1F278D
analogous
#8D4E1F #8D851F #5E8D1F
triadic
#8D851F #1F8D85 #851F8D
tetradic
#8D851F #1F8D4E #1F278D #8D1F5E
square
#8D851F #1F8D4E #1F278D #8D1F5E
split-complementary
#8D851F #1F5E8D #4E1F8D
monochromatic
#292609 #5B5614 #8D851F #BFB42A #D8CE4E
Accessibility & contrast
On white
3.81
#8D851F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#8D851F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D851F
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D851F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D851F | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918007
Deuteranopia (green-blind)
#948527
Tritanopia (blue-blind)
#987B72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8d851f; /* rgb */ color: rgb(141, 133, 31); /* oklch */ color: oklch(60.6% 0.118 104.7);
Tailwind
colors: {
custom: {
50: '#b2a864',
500: '#8d851f',
950: '#000000',
},
}SCSS
$custom: #8d851f; $custom-light: #b2a864; $custom-dark: #000000;
JSON
{
"hex": "#8d851f",
"rgb": {
"r": 141,
"g": 133,
"b": 31
},
"hsl": {
"h": 55.636,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.60555,
"c": 0.11756,
"h": 104.7
},
"luminance": 0.22537
}Semantic roles & 50–950 ramp
primary
#8D851F
secondary
#4D55BB
accent
#4DE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A