#847F1E#847F1E
#847F1E is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.114 H 106.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #847F1E |
|---|---|
| RGB | rgb(132, 127, 30) |
| HSL | hsl(57, 63%, 32%) |
| HSV | hsv(57, 77%, 52%) |
| CMYK | cmyk(0%, 3.8%, 77.3%, 48.2%) |
| CIE-LAB | lab(52.04, -9.69, 49.68) |
| CIE-LCH | lch(52.04, 50.62, 101.04°) |
| OKLab | oklab(58.32% -0.0321 0.109) |
| OKLCH | oklch(58.32% 0.114 106.4) |
| XYZ | xyz(17.3401, 20.1786, 4.2095) |
| Luminance | 0.2018 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.43
Shit Green
#758000
ΔE00 4.72
Ugly Brown
#7D7103
ΔE00 5.54
Poop Green
#6F7C00
ΔE00 5.69
Olive (survey)
#6E750E
ΔE00 5.98
Baby Poop
#937C00
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#847F1E #1E2384
analogous
#844C1E #847F1E #56841E
triadic
#847F1E #1E847F #7F1E84
tetradic
#847F1E #1E844C #1E2384 #841E56
square
#847F1E #1E844C #1E2384 #841E56
split-complementary
#847F1E #1E5684 #4C1E84
monochromatic
#201F07 #524F13 #847F1E #B6AF29 #D5CE47
Accessibility & contrast
On white
4.17
#847F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#847F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #847F1E
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##847F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##847F1E | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A08
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#8E766D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #847f1e; /* rgb */ color: rgb(132, 127, 30); /* oklch */ color: oklch(58.3% 0.114 106.4);
Tailwind
colors: {
custom: {
50: '#aba362',
500: '#847f1e',
950: '#000000',
},
}SCSS
$custom: #847f1e; $custom-light: #aba362; $custom-dark: #000000;
JSON
{
"hex": "#847f1e",
"rgb": {
"r": 132,
"g": 127,
"b": 30
},
"hsl": {
"h": 57.059,
"s": 62.963,
"l": 31.765
},
"oklch": {
"l": 0.58322,
"c": 0.11357,
"h": 106.4
},
"luminance": 0.20178
}Semantic roles & 50–950 ramp
primary
#847F1E
secondary
#474CB7
accent
#4AE642
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#100F05
muted
#7F7F7A