#847D1F#847D1F
#847D1F is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.9% C 0.111 H 105.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #847D1F |
|---|---|
| RGB | rgb(132, 125, 31) |
| HSL | hsl(56, 62%, 32%) |
| HSV | hsv(56, 77%, 52%) |
| CMYK | cmyk(0%, 5.3%, 76.5%, 48.2%) |
| CIE-LAB | lab(51.46, -8.55, 48.78) |
| CIE-LCH | lch(51.46, 49.53, 99.94°) |
| OKLab | oklab(57.87% -0.0287 0.1072) |
| OKLCH | oklch(57.87% 0.111 105) |
| XYZ | xyz(17.0974, 19.6724, 4.1926) |
| Luminance | 0.1967 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.07
Ugly Brown
#7D7103
ΔE00 4.80
Shit Green
#758000
ΔE00 5.32
Baby Poop
#937C00
ΔE00 5.64
Hazel
#8E7618
ΔE00 5.75
Olive (survey)
#6E750E
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#847D1F #1F2684
analogous
#844B1F #847D1F #58841F
triadic
#847D1F #1F847D #7D1F84
tetradic
#847D1F #1F844B #1F2684 #841F58
square
#847D1F #1F844B #1F2684 #841F58
split-complementary
#847D1F #1F5884 #4B1F84
monochromatic
#211F08 #524E13 #847D1F #B6AC2B #D4CB49
Accessibility & contrast
On white
4.26
#847D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#847D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #847D1F
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##847D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##847D1F | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89780C
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#8E746B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #847d1f; /* rgb */ color: rgb(132, 125, 31); /* oklch */ color: oklch(57.9% 0.111 105.0);
Tailwind
colors: {
custom: {
50: '#aba262',
500: '#847d1f',
950: '#000000',
},
}SCSS
$custom: #847d1f; $custom-light: #aba262; $custom-dark: #000000;
JSON
{
"hex": "#847d1f",
"rgb": {
"r": 132,
"g": 125,
"b": 31
},
"hsl": {
"h": 55.842,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.57867,
"c": 0.11103,
"h": 105
},
"luminance": 0.19672
}Semantic roles & 50–950 ramp
primary
#847D1F
secondary
#4850B7
accent
#4EE543
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100F05
muted
#7F7E7A