#847F1B#847F1B
#847F1B 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 | #847F1B |
|---|---|
| RGB | rgb(132, 127, 27) |
| HSL | hsl(57, 66%, 31%) |
| HSV | hsv(57, 80%, 52%) |
| CMYK | cmyk(0%, 3.8%, 79.5%, 48.2%) |
| CIE-LAB | lab(52.02, -9.82, 50.70) |
| CIE-LCH | lch(52.02, 51.64, 100.96°) |
| OKLab | oklab(58.3% -0.0327 0.1105) |
| OKLCH | oklch(58.3% 0.115 106.5) |
| XYZ | xyz(17.3036, 20.1640, 4.0173) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.19
Shit Green
#758000
ΔE00 4.64
Ugly Brown
#7D7103
ΔE00 5.48
Poop Green
#6F7C00
ΔE00 5.65
Baby Poop
#937C00
ΔE00 5.95
Olive (survey)
#6E750E
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#847F1B #1B2084
analogous
#844A1B #847F1B #54841B
triadic
#847F1B #1B847F #7F1B84
tetradic
#847F1B #1B844A #1B2084 #841B54
square
#847F1B #1B844A #1B2084 #841B54
split-complementary
#847F1B #1B5484 #4A1B84
monochromatic
#1E1D06 #514E11 #847F1B #B7B025 #D8D141
Accessibility & contrast
On white
4.17
#847F1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#847F1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #847F1B
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##847F1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##847F1B | 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)
#8B7A01
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#8E766C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #847f1b; /* rgb */ color: rgb(132, 127, 27); /* oklch */ color: oklch(58.3% 0.115 106.5);
Tailwind
colors: {
custom: {
50: '#aba361',
500: '#847f1b',
950: '#000000',
},
}SCSS
$custom: #847f1b; $custom-light: #aba361; $custom-dark: #000000;
JSON
{
"hex": "#847f1b",
"rgb": {
"r": 132,
"g": 127,
"b": 27
},
"hsl": {
"h": 57.143,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.58304,
"c": 0.11526,
"h": 106.5
},
"luminance": 0.20163
}Semantic roles & 50–950 ramp
primary
#847F1B
secondary
#4349B7
accent
#47E93F
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#110F05
muted
#807F7A