#8C851D#8C851D
#8C851D is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.4% C 0.119 H 105.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8C851D |
|---|---|
| RGB | rgb(140, 133, 29) |
| HSL | hsl(56, 66%, 33%) |
| HSV | hsv(56, 79%, 55%) |
| CMYK | cmyk(0%, 5%, 79.3%, 45.1%) |
| CIE-LAB | lab(54.49, -9.32, 52.54) |
| CIE-LCH | lch(54.49, 53.36, 100.06°) |
| OKLab | oklab(60.45% -0.0316 0.1145) |
| OKLCH | oklch(60.45% 0.119 105.4) |
| XYZ | xyz(19.4254, 22.4400, 4.4703) |
| Luminance | 0.2244 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.34
Baby Poop
#937C00
ΔE00 5.65
Shit Green
#758000
ΔE00 5.98
Swamp Green
#748500
ΔE00 6.72
Diarrhea
#9F8303
ΔE00 6.73
Drab
#828344
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C851D #1D248C
analogous
#8C4D1D #8C851D #5B8C1D
triadic
#8C851D #1D8C85 #851D8C
tetradic
#8C851D #1D8C4D #1D248C #8C1D5B
square
#8C851D #1D8C4D #1D248C #8C1D5B
split-complementary
#8C851D #1D5B8C #4D1D8C
monochromatic
#272508 #595512 #8C851D #BFB528 #D9D04A
Accessibility & contrast
On white
3.83
#8C851D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#8C851D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C851D
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C851D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C851D | 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)
#918002
Deuteranopia (green-blind)
#948425
Tritanopia (blue-blind)
#977B72
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8c851d; /* rgb */ color: rgb(140, 133, 29); /* oklch */ color: oklch(60.4% 0.119 105.4);
Tailwind
colors: {
custom: {
50: '#b1a863',
500: '#8c851d',
950: '#000000',
},
}SCSS
$custom: #8c851d; $custom-light: #b1a863; $custom-dark: #000000;
JSON
{
"hex": "#8c851d",
"rgb": {
"r": 140,
"g": 133,
"b": 29
},
"hsl": {
"h": 56.216,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.60449,
"c": 0.11878,
"h": 105.4
},
"luminance": 0.22439
}Semantic roles & 50–950 ramp
primary
#8C851D
secondary
#4950BC
accent
#4AE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A