#847C17#847C17
#847C17 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.6% C 0.114 H 104.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #847C17 |
|---|---|
| RGB | rgb(132, 124, 23) |
| HSL | hsl(56, 70%, 30%) |
| HSV | hsv(56, 83%, 52%) |
| CMYK | cmyk(0%, 6.1%, 82.6%, 48.2%) |
| CIE-LAB | lab(51.13, -8.32, 51.18) |
| CIE-LCH | lch(51.13, 51.86, 99.24°) |
| OKLab | oklab(57.59% -0.0289 0.1108) |
| OKLCH | oklch(57.59% 0.114 104.6) |
| XYZ | xyz(16.8788, 19.3834, 3.6627) |
| Luminance | 0.1938 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.91
Ugly Brown
#7D7103
ΔE00 4.24
Baby Poop
#937C00
ΔE00 5.13
Hazel
#8E7618
ΔE00 5.39
Shit Green
#758000
ΔE00 5.45
Olive (survey)
#6E750E
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#847C17 #171F84
analogous
#844517 #847C17 #568417
triadic
#847C17 #17847C #7C1784
tetradic
#847C17 #178445 #171F84 #841756
square
#847C17 #178445 #171F84 #841756
split-complementary
#847C17 #175684 #451784
monochromatic
#1C1A05 #504B0E #847C17 #B8AD20 #DCD039
Accessibility & contrast
On white
4.31
#847C17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#847C17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #847C17
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##847C17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##847C17 | 1.00 | 4.31 | 4.88 | 4.88 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#8B7C20
Tritanopia (blue-blind)
#8F736A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #847c17; /* rgb */ color: rgb(132, 124, 23); /* oklch */ color: oklch(57.6% 0.114 104.6);
Tailwind
colors: {
custom: {
50: '#aba15f',
500: '#847c17',
950: '#000000',
},
}SCSS
$custom: #847c17; $custom-light: #aba15f; $custom-dark: #000000;
JSON
{
"hex": "#847c17",
"rgb": {
"r": 132,
"g": 124,
"b": 23
},
"hsl": {
"h": 55.596,
"s": 70.323,
"l": 30.392
},
"oklch": {
"l": 0.57589,
"c": 0.11446,
"h": 104.6
},
"luminance": 0.19383
}Semantic roles & 50–950 ramp
primary
#847C17
secondary
#3F48B8
accent
#48ED3B
background
#FAF9F5
surface
#F5F2EA
border
#CFCCC6
text
#110E05
muted
#807E79