#8C851F#8C851F
#8C851F is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.5% C 0.118 H 105.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8C851F |
|---|---|
| RGB | rgb(140, 133, 31) |
| HSL | hsl(56, 64%, 34%) |
| HSV | hsv(56, 78%, 55%) |
| CMYK | cmyk(0%, 5%, 77.9%, 45.1%) |
| CIE-LAB | lab(54.50, -9.24, 51.87) |
| CIE-LCH | lch(54.50, 52.69, 100.10°) |
| OKLab | oklab(60.46% -0.0311 0.1135) |
| OKLCH | oklch(60.46% 0.118 105.3) |
| XYZ | xyz(19.4509, 22.4502, 4.6048) |
| Luminance | 0.2245 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.42
Baby Poop
#937C00
ΔE00 5.70
Shit Green
#758000
ΔE00 6.01
Swamp Green
#748500
ΔE00 6.74
Diarrhea
#9F8303
ΔE00 6.78
Drab
#828344
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C851F #1F268C
analogous
#8C4E1F #8C851F #5C8C1F
triadic
#8C851F #1F8C85 #851F8C
tetradic
#8C851F #1F8C4E #1F268C #8C1F5C
square
#8C851F #1F8C4E #1F268C #8C1F5C
split-complementary
#8C851F #1F5C8C #4E1F8C
monochromatic
#282609 #5A5514 #8C851F #BEB52A #D8CF4E
Accessibility & contrast
On white
3.83
#8C851F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#8C851F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C851F
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C851F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C851F | 1.00 | 3.83 | 5.49 | 5.49 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918007
Deuteranopia (green-blind)
#948427
Tritanopia (blue-blind)
#977B72
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8c851f; /* rgb */ color: rgb(140, 133, 31); /* oklch */ color: oklch(60.5% 0.118 105.3);
Tailwind
colors: {
custom: {
50: '#b1a864',
500: '#8c851f',
950: '#000000',
},
}SCSS
$custom: #8c851f; $custom-light: #b1a864; $custom-dark: #000000;
JSON
{
"hex": "#8c851f",
"rgb": {
"r": 140,
"g": 133,
"b": 31
},
"hsl": {
"h": 56.147,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.60461,
"c": 0.11768,
"h": 105.3
},
"luminance": 0.22449
}Semantic roles & 50–950 ramp
primary
#8C851F
secondary
#4C53BB
accent
#4CE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A