#847F2F#847F2F
#847F2F is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.101 H 105.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #847F2F |
|---|---|
| RGB | rgb(132, 127, 47) |
| HSL | hsl(56, 47%, 35%) |
| HSV | hsv(56, 64%, 52%) |
| CMYK | cmyk(0%, 3.8%, 64.4%, 48.2%) |
| CIE-LAB | lab(52.16, -8.72, 42.81) |
| CIE-LCH | lch(52.16, 43.69, 101.51°) |
| OKLab | oklab(58.46% -0.0274 0.0975) |
| OKLCH | oklch(58.46% 0.101 105.7) |
| XYZ | xyz(17.6188, 20.2901, 5.6771) |
| Luminance | 0.2029 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.05
Olive
#808000
ΔE00 4.46
Shit Green
#758000
ΔE00 5.83
Olive Drab
#6F7632
ΔE00 6.31
Ugly Brown
#7D7103
ΔE00 6.37
Olive (survey)
#6E750E
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#847F2F #2F3484
analogous
#84552F #847F2F #5E842F
triadic
#847F2F #2F847F #7F2F84
tetradic
#847F2F #2F8455 #2F3484 #842F5E
square
#847F2F #2F8455 #2F3484 #842F5E
split-complementary
#847F2F #2F5E84 #552F84
monochromatic
#2A280F #57541F #847F2F #B1AA3F #C8C265
Accessibility & contrast
On white
4.15
#847F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#847F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #847F2F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##847F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##847F2F | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A25
Deuteranopia (green-blind)
#8C7E34
Tritanopia (blue-blind)
#8D776E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #847f2f; /* rgb */ color: rgb(132, 127, 47); /* oklch */ color: oklch(58.5% 0.101 105.7);
Tailwind
colors: {
custom: {
50: '#aaa36b',
500: '#847f2f',
950: '#000000',
},
}SCSS
$custom: #847f2f; $custom-light: #aaa36b; $custom-dark: #000000;
JSON
{
"hex": "#847f2f",
"rgb": {
"r": 132,
"g": 127,
"b": 47
},
"hsl": {
"h": 56.471,
"s": 47.486,
"l": 35.098
},
"oklch": {
"l": 0.58461,
"c": 0.10129,
"h": 105.7
},
"luminance": 0.2029
}Semantic roles & 50–950 ramp
primary
#847F2F
secondary
#6064AF
accent
#59D751
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A