#847E1F#847E1F
#847E1F is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.1% C 0.112 H 105.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #847E1F |
|---|---|
| RGB | rgb(132, 126, 31) |
| HSL | hsl(56, 62%, 32%) |
| HSV | hsv(56, 77%, 52%) |
| CMYK | cmyk(0%, 4.5%, 76.5%, 48.2%) |
| CIE-LAB | lab(51.75, -9.10, 49.05) |
| CIE-LCH | lch(51.75, 49.89, 100.51°) |
| OKLab | oklab(58.1% -0.0303 0.1078) |
| OKLCH | oklch(58.1% 0.112 105.7) |
| XYZ | xyz(17.2246, 19.9268, 4.2350) |
| Luminance | 0.1993 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.77
Shit Green
#758000
ΔE00 5.02
Ugly Brown
#7D7103
ΔE00 5.18
Baby Poop
#937C00
ΔE00 5.86
Poop Green
#6F7C00
ΔE00 5.88
Olive (survey)
#6E750E
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#847E1F #1F2584
analogous
#844C1F #847E1F #57841F
triadic
#847E1F #1F847E #7E1F84
tetradic
#847E1F #1F844C #1F2584 #841F57
square
#847E1F #1F844C #1F2584 #841F57
split-complementary
#847E1F #1F5784 #4C1F84
monochromatic
#211F08 #524F13 #847E1F #B6AD2B #D4CC49
Accessibility & contrast
On white
4.21
#847E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#847E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #847E1F
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##847E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##847E1F | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89790B
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#8E756C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #847e1f; /* rgb */ color: rgb(132, 126, 31); /* oklch */ color: oklch(58.1% 0.112 105.7);
Tailwind
colors: {
custom: {
50: '#aba363',
500: '#847e1f',
950: '#000000',
},
}SCSS
$custom: #847e1f; $custom-light: #aba363; $custom-dark: #000000;
JSON
{
"hex": "#847e1f",
"rgb": {
"r": 132,
"g": 126,
"b": 31
},
"hsl": {
"h": 56.436,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.58097,
"c": 0.112,
"h": 105.7
},
"luminance": 0.19926
}Semantic roles & 50–950 ramp
primary
#847E1F
secondary
#484FB7
accent
#4CE543
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100F06
muted
#7F7E7A