#847F1C#847F1C
#847F1C is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.115 H 106.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #847F1C |
|---|---|
| RGB | rgb(132, 127, 28) |
| HSL | hsl(57, 65%, 31%) |
| HSV | hsv(57, 79%, 52%) |
| CMYK | cmyk(0%, 3.8%, 78.8%, 48.2%) |
| CIE-LAB | lab(52.03, -9.78, 50.37) |
| CIE-LCH | lch(52.03, 51.31, 100.99°) |
| OKLab | oklab(58.31% -0.0325 0.11) |
| OKLCH | oklch(58.31% 0.115 106.5) |
| XYZ | xyz(17.3154, 20.1688, 4.0792) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.26
Shit Green
#758000
ΔE00 4.66
Ugly Brown
#7D7103
ΔE00 5.50
Poop Green
#6F7C00
ΔE00 5.66
Baby Poop
#937C00
ΔE00 5.98
Olive (survey)
#6E750E
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#847F1C #1C2184
analogous
#844B1C #847F1C #55841C
triadic
#847F1C #1C847F #7F1C84
tetradic
#847F1C #1C844B #1C2184 #841C55
square
#847F1C #1C844B #1C2184 #841C55
split-complementary
#847F1C #1C5584 #4B1C84
monochromatic
#1F1E07 #524E11 #847F1C #B6B027 #D7D043
Accessibility & contrast
On white
4.17
#847F1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#847F1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #847F1C
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##847F1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##847F1C | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A04
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#8E766C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #847f1c; /* rgb */ color: rgb(132, 127, 28); /* oklch */ color: oklch(58.3% 0.115 106.5);
Tailwind
colors: {
custom: {
50: '#aba361',
500: '#847f1c',
950: '#000000',
},
}SCSS
$custom: #847f1c; $custom-light: #aba361; $custom-dark: #000000;
JSON
{
"hex": "#847f1c",
"rgb": {
"r": 132,
"g": 127,
"b": 28
},
"hsl": {
"h": 57.115,
"s": 65,
"l": 31.373
},
"oklch": {
"l": 0.58309,
"c": 0.11472,
"h": 106.5
},
"luminance": 0.20168
}Semantic roles & 50–950 ramp
primary
#847F1C
secondary
#454AB7
accent
#48E840
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#110F05
muted
#807F7A