#847E1B#847E1B
#847E1B is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.1% C 0.114 H 105.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #847E1B |
|---|---|
| RGB | rgb(132, 126, 27) |
| HSL | hsl(57, 66%, 31%) |
| HSV | hsv(57, 80%, 52%) |
| CMYK | cmyk(0%, 4.5%, 79.5%, 48.2%) |
| CIE-LAB | lab(51.73, -9.27, 50.44) |
| CIE-LCH | lch(51.73, 51.28, 100.42°) |
| OKLab | oklab(58.07% -0.0312 0.11) |
| OKLCH | oklch(58.07% 0.114 105.8) |
| XYZ | xyz(17.1751, 19.9070, 3.9744) |
| Luminance | 0.1991 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.45
Shit Green
#758000
ΔE00 4.91
Ugly Brown
#7D7103
ΔE00 5.09
Baby Poop
#937C00
ΔE00 5.70
Poop Green
#6F7C00
ΔE00 5.81
Olive (survey)
#6E750E
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#847E1B #1B2184
analogous
#84491B #847E1B #55841B
triadic
#847E1B #1B847E #7E1B84
tetradic
#847E1B #1B8449 #1B2184 #841B55
square
#847E1B #1B8449 #1B2184 #841B55
split-complementary
#847E1B #1B5584 #491B84
monochromatic
#1E1D06 #514D11 #847E1B #B7AE25 #D8D041
Accessibility & contrast
On white
4.22
#847E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#847E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #847E1B
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##847E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##847E1B | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7902
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#8E756C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #847e1b; /* rgb */ color: rgb(132, 126, 27); /* oklch */ color: oklch(58.1% 0.114 105.8);
Tailwind
colors: {
custom: {
50: '#aba361',
500: '#847e1b',
950: '#000000',
},
}SCSS
$custom: #847e1b; $custom-light: #aba361; $custom-dark: #000000;
JSON
{
"hex": "#847e1b",
"rgb": {
"r": 132,
"g": 126,
"b": 27
},
"hsl": {
"h": 56.571,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.58072,
"c": 0.11429,
"h": 105.8
},
"luminance": 0.19906
}Semantic roles & 50–950 ramp
primary
#847E1B
secondary
#434AB7
accent
#49E93F
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110F05
muted
#807E7A