#837B1F#837B1F
#837B1F is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.3% C 0.109 H 104.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #837B1F |
|---|---|
| RGB | rgb(131, 123, 31) |
| HSL | hsl(55, 62%, 32%) |
| HSV | hsv(55, 76%, 51%) |
| CMYK | cmyk(0%, 6.1%, 76.3%, 48.6%) |
| CIE-LAB | lab(50.79, -7.91, 48.12) |
| CIE-LCH | lch(50.79, 48.76, 99.33°) |
| OKLab | oklab(57.31% -0.0269 0.1059) |
| OKLCH | oklch(57.31% 0.109 104.3) |
| XYZ | xyz(16.6911, 19.0908, 4.1018) |
| Luminance | 0.1909 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.60
Ugly Brown
#7D7103
ΔE00 4.12
Hazel
#8E7618
ΔE00 5.32
Baby Poop
#937C00
ΔE00 5.59
Olive (survey)
#6E750E
ΔE00 5.71
Shit Green
#758000
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#837B1F #1F2783
analogous
#83491F #837B1F #59831F
triadic
#837B1F #1F837B #7B1F83
tetradic
#837B1F #1F8349 #1F2783 #831F59
square
#837B1F #1F8349 #1F2783 #831F59
split-complementary
#837B1F #1F5983 #491F83
monochromatic
#201E08 #524D13 #837B1F #B4A92B #D4C949
Accessibility & contrast
On white
4.36
#837B1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#837B1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #837B1F
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##837B1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##837B1F | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86770D
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#8D7269
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #837b1f; /* rgb */ color: rgb(131, 123, 31); /* oklch */ color: oklch(57.3% 0.109 104.3);
Tailwind
colors: {
custom: {
50: '#aaa062',
500: '#837b1f',
950: '#000000',
},
}SCSS
$custom: #837b1f; $custom-light: #aaa062; $custom-dark: #000000;
JSON
{
"hex": "#837b1f",
"rgb": {
"r": 131,
"g": 123,
"b": 31
},
"hsl": {
"h": 55.2,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.5731,
"c": 0.10923,
"h": 104.3
},
"luminance": 0.1909
}Semantic roles & 50–950 ramp
primary
#837B1F
secondary
#4851B6
accent
#50E543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A