#837F2A#837F2A
#837F2A is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.105 H 106.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #837F2A |
|---|---|
| RGB | rgb(131, 127, 42) |
| HSL | hsl(57, 51%, 34%) |
| HSV | hsv(57, 68%, 51%) |
| CMYK | cmyk(0%, 3.1%, 67.9%, 48.6%) |
| CIE-LAB | lab(52.03, -9.51, 44.88) |
| CIE-LCH | lch(52.03, 45.87, 101.96°) |
| OKLab | oklab(58.32% -0.0302 0.1011) |
| OKLCH | oklch(58.32% 0.106 106.6) |
| XYZ | xyz(17.3680, 20.1718, 5.1687) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.71
Drab
#828344
ΔE00 4.57
Shit Green
#758000
ΔE00 5.14
Poop Green
#6F7C00
ΔE00 5.89
Olive (survey)
#6E750E
ΔE00 5.93
Ugly Brown
#7D7103
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#837F2A #2A2E83
analogous
#83532A #837F2A #5B832A
triadic
#837F2A #2A837F #7F2A83
tetradic
#837F2A #2A8353 #2A2E83 #832A5B
square
#837F2A #2A8353 #2A2E83 #832A5B
split-complementary
#837F2A #2A5B83 #532A83
monochromatic
#26250C #55521B #837F2A #B1AC39 #CBC65D
Accessibility & contrast
On white
4.17
#837F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#837F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #837F2A
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##837F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##837F2A | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A1E
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#8D776E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #837f2a; /* rgb */ color: rgb(131, 127, 42); /* oklch */ color: oklch(58.3% 0.105 106.6);
Tailwind
colors: {
custom: {
50: '#aaa369',
500: '#837f2a',
950: '#000000',
},
}SCSS
$custom: #837f2a; $custom-light: #aaa369; $custom-dark: #000000;
JSON
{
"hex": "#837f2a",
"rgb": {
"r": 131,
"g": 127,
"b": 42
},
"hsl": {
"h": 57.303,
"s": 51.445,
"l": 33.922
},
"oklch": {
"l": 0.5832,
"c": 0.1055,
"h": 106.6
},
"luminance": 0.20171
}Semantic roles & 50–950 ramp
primary
#837F2A
secondary
#585CB1
accent
#53DB4D
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A