#837A1B#837A1B
#837A1B is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.1% C 0.111 H 103.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #837A1B |
|---|---|
| RGB | rgb(131, 122, 27) |
| HSL | hsl(55, 66%, 31%) |
| HSV | hsv(55, 79%, 51%) |
| CMYK | cmyk(0%, 6.9%, 79.4%, 48.6%) |
| CIE-LAB | lab(50.48, -7.53, 49.26) |
| CIE-LCH | lch(50.48, 49.84, 98.69°) |
| OKLab | oklab(57.05% -0.0262 0.1075) |
| OKLCH | oklch(57.05% 0.111 103.7) |
| XYZ | xyz(16.5182, 18.8242, 3.8000) |
| Luminance | 0.1882 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.61
Olive
#808000
ΔE00 3.72
Hazel
#8E7618
ΔE00 4.95
Baby Poop
#937C00
ΔE00 5.26
Olive (survey)
#6E750E
ΔE00 5.78
Shit Green
#758000
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#837A1B #1B2483
analogous
#83461B #837A1B #58831B
triadic
#837A1B #1B837A #7A1B83
tetradic
#837A1B #1B8346 #1B2483 #831B58
square
#837A1B #1B8346 #1B2483 #831B58
split-complementary
#837A1B #1B5883 #461B83
monochromatic
#1E1B06 #504B11 #837A1B #B6A925 #D8CB41
Accessibility & contrast
On white
4.41
#837A1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#837A1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #837A1B
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##837A1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##837A1B | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#897A22
Tritanopia (blue-blind)
#8D7168
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #837a1b; /* rgb */ color: rgb(131, 122, 27); /* oklch */ color: oklch(57.1% 0.111 103.7);
Tailwind
colors: {
custom: {
50: '#aaa060',
500: '#837a1b',
950: '#000000',
},
}SCSS
$custom: #837a1b; $custom-light: #aaa060; $custom-dark: #000000;
JSON
{
"hex": "#837a1b",
"rgb": {
"r": 131,
"g": 122,
"b": 27
},
"hsl": {
"h": 54.808,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.57054,
"c": 0.11065,
"h": 103.7
},
"luminance": 0.18823
}Semantic roles & 50–950 ramp
primary
#837A1B
secondary
#434DB6
accent
#4EE93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79