#837D1F#837D1F
#837D1F is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.8% C 0.111 H 105.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #837D1F |
|---|---|
| RGB | rgb(131, 125, 31) |
| HSL | hsl(56, 62%, 32%) |
| HSV | hsv(56, 76%, 51%) |
| CMYK | cmyk(0%, 4.6%, 76.3%, 48.6%) |
| CIE-LAB | lab(51.37, -9.01, 48.66) |
| CIE-LCH | lch(51.37, 49.49, 100.49°) |
| OKLab | oklab(57.77% -0.03 0.107) |
| OKLCH | oklch(57.77% 0.111 105.7) |
| XYZ | xyz(16.9417, 19.5921, 4.1853) |
| Luminance | 0.1959 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.92
Ugly Brown
#7D7103
ΔE00 4.86
Shit Green
#758000
ΔE00 5.04
Olive (survey)
#6E750E
ΔE00 5.64
Poop Green
#6F7C00
ΔE00 5.77
Baby Poop
#937C00
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#837D1F #1F2583
analogous
#834B1F #837D1F #57831F
triadic
#837D1F #1F837D #7D1F83
tetradic
#837D1F #1F834B #1F2583 #831F57
square
#837D1F #1F834B #1F2583 #831F57
split-complementary
#837D1F #1F5783 #4B1F83
monochromatic
#201F08 #524E13 #837D1F #B4AC2B #D4CB49
Accessibility & contrast
On white
4.27
#837D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#837D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #837D1F
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##837D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##837D1F | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#8D746B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #837d1f; /* rgb */ color: rgb(131, 125, 31); /* oklch */ color: oklch(57.8% 0.111 105.7);
Tailwind
colors: {
custom: {
50: '#aaa262',
500: '#837d1f',
950: '#000000',
},
}SCSS
$custom: #837d1f; $custom-light: #aaa262; $custom-dark: #000000;
JSON
{
"hex": "#837d1f",
"rgb": {
"r": 131,
"g": 125,
"b": 31
},
"hsl": {
"h": 56.4,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.57771,
"c": 0.11115,
"h": 105.7
},
"luminance": 0.19591
}Semantic roles & 50–950 ramp
primary
#837D1F
secondary
#484FB6
accent
#4DE543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A