#847F18#847F18
#847F18 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.117 H 106.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #847F18 |
|---|---|
| RGB | rgb(132, 127, 24) |
| HSL | hsl(57, 69%, 31%) |
| HSV | hsv(57, 82%, 52%) |
| CMYK | cmyk(0%, 3.8%, 81.8%, 48.2%) |
| CIE-LAB | lab(52.01, -9.93, 51.65) |
| CIE-LCH | lch(52.01, 52.59, 100.89°) |
| OKLab | oklab(58.29% -0.0333 0.112) |
| OKLCH | oklch(58.29% 0.117 106.6) |
| XYZ | xyz(17.2707, 20.1509, 3.8437) |
| Luminance | 0.2015 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.98
Shit Green
#758000
ΔE00 4.58
Ugly Brown
#7D7103
ΔE00 5.45
Poop Green
#6F7C00
ΔE00 5.62
Baby Poop
#937C00
ΔE00 5.86
Swamp Green
#748500
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#847F18 #181D84
analogous
#844918 #847F18 #538418
triadic
#847F18 #18847F #7F1884
tetradic
#847F18 #188449 #181D84 #841853
square
#847F18 #188449 #181D84 #841853
split-complementary
#847F18 #185384 #491884
monochromatic
#1C1B05 #504D0F #847F18 #B8B121 #DBD43B
Accessibility & contrast
On white
4.17
#847F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#847F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #847F18
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##847F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##847F18 | 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)
#8B7A00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#8E766C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #847f18; /* rgb */ color: rgb(132, 127, 24); /* oklch */ color: oklch(58.3% 0.117 106.6);
Tailwind
colors: {
custom: {
50: '#aba360',
500: '#847f18',
950: '#000000',
},
}SCSS
$custom: #847f18; $custom-light: #aba360; $custom-dark: #000000;
JSON
{
"hex": "#847f18",
"rgb": {
"r": 132,
"g": 127,
"b": 24
},
"hsl": {
"h": 57.222,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.58287,
"c": 0.11679,
"h": 106.6
},
"luminance": 0.2015
}Semantic roles & 50–950 ramp
primary
#847F18
secondary
#4045B8
accent
#44EC3C
background
#FAFAF5
surface
#F5F3EA
border
#CFCDC6
text
#110F05
muted
#807F79