#847B2F#847B2F
#847B2F is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.5% C 0.097 H 102.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #847B2F |
|---|---|
| RGB | rgb(132, 123, 47) |
| HSL | hsl(54, 47%, 35%) |
| HSV | hsv(54, 64%, 52%) |
| CMYK | cmyk(0%, 6.8%, 64.4%, 48.2%) |
| CIE-LAB | lab(51.01, -6.50, 41.57) |
| CIE-LCH | lch(51.01, 42.07, 98.89°) |
| OKLab | oklab(57.54% -0.0211 0.0949) |
| OKLCH | oklch(57.54% 0.097 102.6) |
| XYZ | xyz(17.1124, 19.2774, 5.5083) |
| Luminance | 0.1928 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.96
Ugly Brown
#7D7103
ΔE00 5.28
Olive
#808000
ΔE00 5.47
Hazel
#8E7618
ΔE00 5.56
Olive Drab
#6F7632
ΔE00 6.36
Baby Poop
#937C00
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#847B2F #2F3884
analogous
#84502F #847B2F #62842F
triadic
#847B2F #2F847B #7B2F84
tetradic
#847B2F #2F8450 #2F3884 #842F62
square
#847B2F #2F8450 #2F3884 #842F62
split-complementary
#847B2F #2F6284 #502F84
monochromatic
#2A270F #57511F #847B2F #B1A53F #C8BE65
Accessibility & contrast
On white
4.33
#847B2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#847B2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #847B2F
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##847B2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##847B2F | 1.00 | 4.33 | 4.86 | 4.86 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867726
Deuteranopia (green-blind)
#897B33
Tritanopia (blue-blind)
#8E736B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #847b2f; /* rgb */ color: rgb(132, 123, 47); /* oklch */ color: oklch(57.5% 0.097 102.6);
Tailwind
colors: {
custom: {
50: '#aaa06b',
500: '#847b2f',
950: '#000000',
},
}SCSS
$custom: #847b2f; $custom-light: #aaa06b; $custom-dark: #000000;
JSON
{
"hex": "#847b2f",
"rgb": {
"r": 132,
"g": 123,
"b": 47
},
"hsl": {
"h": 53.647,
"s": 47.486,
"l": 35.098
},
"oklch": {
"l": 0.57544,
"c": 0.0972,
"h": 102.6
},
"luminance": 0.19277
}Semantic roles & 50–950 ramp
primary
#847B2F
secondary
#6068AF
accent
#5FD751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A