#837B1A#837B1A
#837B1A is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.3% C 0.112 H 104.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #837B1A |
|---|---|
| RGB | rgb(131, 123, 26) |
| HSL | hsl(55, 67%, 31%) |
| HSV | hsv(55, 80%, 51%) |
| CMYK | cmyk(0%, 6.1%, 80.2%, 48.6%) |
| CIE-LAB | lab(50.76, -8.12, 49.86) |
| CIE-LCH | lch(50.76, 50.52, 99.25°) |
| OKLab | oklab(57.28% -0.028 0.1086) |
| OKLCH | oklch(57.28% 0.112 104.5) |
| XYZ | xyz(16.6302, 19.0665, 3.7813) |
| Luminance | 0.1907 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.26
Ugly Brown
#7D7103
ΔE00 3.95
Hazel
#8E7618
ΔE00 5.30
Baby Poop
#937C00
ΔE00 5.36
Shit Green
#758000
ΔE00 5.55
Olive (survey)
#6E750E
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#837B1A #1A2283
analogous
#83471A #837B1A #56831A
triadic
#837B1A #1A837B #7B1A83
tetradic
#837B1A #1A8347 #1A2283 #831A56
square
#837B1A #1A8347 #1A2283 #831A56
split-complementary
#837B1A #1A5683 #471A83
monochromatic
#1D1B06 #504B10 #837B1A #B6AB24 #D9CD3F
Accessibility & contrast
On white
4.36
#837B1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#837B1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #837B1A
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##837B1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##837B1A | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877602
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#8D7269
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #837b1a; /* rgb */ color: rgb(131, 123, 26); /* oklch */ color: oklch(57.3% 0.112 104.5);
Tailwind
colors: {
custom: {
50: '#aba060',
500: '#837b1a',
950: '#000000',
},
}SCSS
$custom: #837b1a; $custom-light: #aba060; $custom-dark: #000000;
JSON
{
"hex": "#837b1a",
"rgb": {
"r": 131,
"g": 123,
"b": 26
},
"hsl": {
"h": 55.429,
"s": 66.879,
"l": 30.784
},
"oklch": {
"l": 0.57278,
"c": 0.11213,
"h": 104.5
},
"luminance": 0.19066
}Semantic roles & 50–950 ramp
primary
#837B1A
secondary
#424BB7
accent
#4BEA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79