#7B895E#7B895E
#7B895E is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.7% C 0.064 H 123.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7B895E |
|---|---|
| RGB | rgb(123, 137, 94) |
| HSL | hsl(80, 19%, 45%) |
| HSV | hsv(80, 31%, 54%) |
| CMYK | cmyk(10.2%, 0%, 31.4%, 46.3%) |
| CIE-LAB | lab(54.98, -12.91, 21.43) |
| CIE-LCH | lch(54.98, 25.02, 121.06°) |
| OKLab | oklab(60.73% -0.0348 0.0536) |
| OKLCH | oklch(60.73% 0.064 123) |
| XYZ | xyz(19.1342, 22.9104, 14.0016) |
| Luminance | 0.2291 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 5.32
Green Grey
#77926F
ΔE00 5.41
Drab Green
#749551
ΔE00 6.96
Drab
#828344
ΔE00 7.03
Moss Green
#8A9A5B
ΔE00 7.06
Moss
#769958
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B895E #6C5E89
analogous
#89815E #7B895E #65895E
triadic
#7B895E #5E7B89 #895E7B
tetradic
#7B895E #5E8981 #6C5E89 #895E65
square
#7B895E #5E8981 #6C5E89 #895E65
split-complementary
#7B895E #5E6589 #815E89
monochromatic
#3A402C #5A6545 #7B895E #99A67E #B6BFA2
Accessibility & contrast
On white
3.76
#7B895E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#7B895E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B895E
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B895E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B895E | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E845B
Deuteranopia (green-blind)
#8C8460
Tritanopia (blue-blind)
#7E857E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7b895e; /* rgb */ color: rgb(123, 137, 94); /* oklch */ color: oklch(60.7% 0.064 123.0);
Tailwind
colors: {
custom: {
50: '#a1ab8c',
500: '#7b895e',
950: '#000000',
},
}SCSS
$custom: #7b895e; $custom-light: #a1ab8c; $custom-dark: #000000;
JSON
{
"hex": "#7b895e",
"rgb": {
"r": 123,
"g": 137,
"b": 94
},
"hsl": {
"h": 79.535,
"s": 18.615,
"l": 45.294
},
"oklch": {
"l": 0.60732,
"c": 0.06392,
"h": 123
},
"luminance": 0.2291
}Semantic roles & 50–950 ramp
primary
#7B895E
secondary
#9D95AE
accent
#6DBB86
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D