#7B8A5E#7B8A5E
#7B8A5E is a mid, moderate yellow-green. Relative luminance 0.232; OKLCH L 61.0% C 0.066 H 123.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7B8A5E |
|---|---|
| RGB | rgb(123, 138, 94) |
| HSL | hsl(80, 19%, 45%) |
| HSV | hsv(80, 32%, 54%) |
| CMYK | cmyk(10.9%, 0%, 31.9%, 45.9%) |
| CIE-LAB | lab(55.27, -13.45, 21.82) |
| CIE-LCH | lch(55.27, 25.63, 121.64°) |
| OKLab | oklab(60.97% -0.0363 0.0546) |
| OKLCH | oklch(60.97% 0.066 123.6) |
| XYZ | xyz(19.2770, 23.1960, 14.0492) |
| Luminance | 0.2320 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 5.04
Green Grey
#77926F
ΔE00 5.20
Drab Green
#749551
ΔE00 6.54
Moss Green
#8A9A5B
ΔE00 6.72
Moss
#769958
ΔE00 6.97
Drab
#828344
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B8A5E #6D5E8A
analogous
#8A835E #7B8A5E #658A5E
triadic
#7B8A5E #5E7B8A #8A5E7B
tetradic
#7B8A5E #5E8A83 #6D5E8A #8A5E65
square
#7B8A5E #5E8A83 #6D5E8A #8A5E65
split-complementary
#7B8A5E #5E658A #835E8A
monochromatic
#3A412C #5B6645 #7B8A5E #99A77E #B6C0A2
Accessibility & contrast
On white
3.72
#7B8A5E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#7B8A5E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B8A5E
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B8A5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B8A5E | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F855B
Deuteranopia (green-blind)
#8D8460
Tritanopia (blue-blind)
#7E867F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7b8a5e; /* rgb */ color: rgb(123, 138, 94); /* oklch */ color: oklch(61.0% 0.066 123.6);
Tailwind
colors: {
custom: {
50: '#a1ac8c',
500: '#7b8a5e',
950: '#000000',
},
}SCSS
$custom: #7b8a5e; $custom-light: #a1ac8c; $custom-dark: #000000;
JSON
{
"hex": "#7b8a5e",
"rgb": {
"r": 123,
"g": 138,
"b": 94
},
"hsl": {
"h": 80.455,
"s": 18.966,
"l": 45.49
},
"oklch": {
"l": 0.60967,
"c": 0.06553,
"h": 123.6
},
"luminance": 0.23196
}Semantic roles & 50–950 ramp
primary
#7B8A5E
secondary
#9E96AE
accent
#6CBC87
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D