#838E5B#838E5B
#838E5B is a light, moderate yellow-green. Relative luminance 0.249; OKLCH L 62.5% C 0.073 H 118.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #838E5B |
|---|---|
| RGB | rgb(131, 142, 91) |
| HSL | hsl(73, 22%, 46%) |
| HSV | hsv(73, 36%, 56%) |
| CMYK | cmyk(7.7%, 0%, 35.9%, 44.3%) |
| CIE-LAB | lab(57.00, -12.78, 25.88) |
| CIE-LCH | lch(57.00, 28.87, 116.28°) |
| OKLab | oklab(62.48% -0.0347 0.064) |
| OKLCH | oklch(62.48% 0.073 118.5) |
| XYZ | xyz(20.9214, 24.9267, 13.6047) |
| Luminance | 0.2493 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 3.14
Moss Green
#8A9A5B
ΔE00 4.45
Drab
#828344
ΔE00 5.75
Drab Green
#749551
ΔE00 5.92
Moss
#769958
ΔE00 6.39
Khaki Green
#728639
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#838E5B #665B8E
analogous
#8E7F5B #838E5B #698E5B
triadic
#838E5B #5B838E #8E5B83
tetradic
#838E5B #5B8E7F #665B8E #8E5B69
square
#838E5B #5B8E7F #665B8E #8E5B69
split-complementary
#838E5B #5B698E #7F5B8E
monochromatic
#3E432B #616943 #838E5B #A1AB7B #BBC3A1
Accessibility & contrast
On white
3.51
#838E5B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#838E5B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #838E5B
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##838E5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##838E5B | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948957
Deuteranopia (green-blind)
#93895D
Tritanopia (blue-blind)
#888981
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #838e5b; /* rgb */ color: rgb(131, 142, 91); /* oklch */ color: oklch(62.5% 0.073 118.5);
Tailwind
colors: {
custom: {
50: '#a8af8a',
500: '#838e5b',
950: '#000000',
},
}SCSS
$custom: #838e5b; $custom-light: #a8af8a; $custom-dark: #000000;
JSON
{
"hex": "#838e5b",
"rgb": {
"r": 131,
"g": 142,
"b": 91
},
"hsl": {
"h": 72.941,
"s": 21.888,
"l": 45.686
},
"oklch": {
"l": 0.62484,
"c": 0.07279,
"h": 118.5
},
"luminance": 0.24927
}Semantic roles & 50–950 ramp
primary
#838E5B
secondary
#9A94B1
accent
#69BE7C
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#0F100B
muted
#7F7F7C