#837C1A#837C1A
#837C1A is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.5% C 0.113 H 105.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #837C1A |
|---|---|
| RGB | rgb(131, 124, 26) |
| HSL | hsl(56, 67%, 31%) |
| HSV | hsv(56, 80%, 51%) |
| CMYK | cmyk(0%, 5.3%, 80.2%, 48.6%) |
| CIE-LAB | lab(51.05, -8.68, 50.12) |
| CIE-LCH | lch(51.05, 50.87, 99.82°) |
| OKLab | oklab(57.51% -0.0295 0.1091) |
| OKLCH | oklch(57.51% 0.113 105.1) |
| XYZ | xyz(16.7549, 19.3158, 3.8229) |
| Luminance | 0.1931 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.88
Ugly Brown
#7D7103
ΔE00 4.34
Shit Green
#758000
ΔE00 5.21
Baby Poop
#937C00
ΔE00 5.54
Olive (survey)
#6E750E
ΔE00 5.66
Hazel
#8E7618
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#837C1A #1A2183
analogous
#83471A #837C1A #55831A
triadic
#837C1A #1A837C #7C1A83
tetradic
#837C1A #1A8347 #1A2183 #831A55
square
#837C1A #1A8347 #1A2183 #831A55
split-complementary
#837C1A #1A5583 #471A83
monochromatic
#1D1B06 #504C10 #837C1A #B6AC24 #D9CF3F
Accessibility & contrast
On white
4.32
#837C1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#837C1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #837C1A
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##837C1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##837C1A | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887701
Deuteranopia (green-blind)
#8A7B22
Tritanopia (blue-blind)
#8D736A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #837c1a; /* rgb */ color: rgb(131, 124, 26); /* oklch */ color: oklch(57.5% 0.113 105.1);
Tailwind
colors: {
custom: {
50: '#aaa160',
500: '#837c1a',
950: '#000000',
},
}SCSS
$custom: #837c1a; $custom-light: #aaa160; $custom-dark: #000000;
JSON
{
"hex": "#837c1a",
"rgb": {
"r": 131,
"g": 124,
"b": 26
},
"hsl": {
"h": 56,
"s": 66.879,
"l": 30.784
},
"oklch": {
"l": 0.57509,
"c": 0.11306,
"h": 105.1
},
"luminance": 0.19315
}Semantic roles & 50–950 ramp
primary
#837C1A
secondary
#424AB7
accent
#49EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79