#7B8A5B#7B8A5B
#7B8A5B is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.9% C 0.069 H 122.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7B8A5B |
|---|---|
| RGB | rgb(123, 138, 91) |
| HSL | hsl(79, 21%, 45%) |
| HSV | hsv(79, 34%, 54%) |
| CMYK | cmyk(10.9%, 0%, 34.1%, 45.9%) |
| CIE-LAB | lab(55.22, -13.89, 23.42) |
| CIE-LCH | lch(55.22, 27.23, 120.66°) |
| OKLab | oklab(60.91% -0.0376 0.0583) |
| OKLCH | oklch(60.91% 0.069 122.8) |
| XYZ | xyz(19.1450, 23.1432, 13.3540) |
| Luminance | 0.2314 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 4.31
Green Grey
#77926F
ΔE00 5.75
Drab Green
#749551
ΔE00 6.06
Moss Green
#8A9A5B
ΔE00 6.29
Drab
#828344
ΔE00 6.54
Moss
#769958
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B8A5B #6A5B8A
analogous
#8A825B #7B8A5B #648A5B
triadic
#7B8A5B #5B7B8A #8A5B7B
tetradic
#7B8A5B #5B8A82 #6A5B8A #8A5B64
square
#7B8A5B #5B8A82 #6A5B8A #8A5B64
split-complementary
#7B8A5B #5B648A #825B8A
monochromatic
#39402A #5A6543 #7B8A5B #99A87B #B6C09F
Accessibility & contrast
On white
3.73
#7B8A5B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#7B8A5B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B8A5B
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B8A5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B8A5B | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F8558
Deuteranopia (green-blind)
#8D845D
Tritanopia (blue-blind)
#7F867E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7b8a5b; /* rgb */ color: rgb(123, 138, 91); /* oklch */ color: oklch(60.9% 0.069 122.8);
Tailwind
colors: {
custom: {
50: '#a2ac8a',
500: '#7b8a5b',
950: '#000000',
},
}SCSS
$custom: #7b8a5b; $custom-light: #a2ac8a; $custom-dark: #000000;
JSON
{
"hex": "#7b8a5b",
"rgb": {
"r": 123,
"g": 138,
"b": 91
},
"hsl": {
"h": 79.149,
"s": 20.524,
"l": 44.902
},
"oklch": {
"l": 0.60906,
"c": 0.06936,
"h": 122.8
},
"luminance": 0.23143
}Semantic roles & 50–950 ramp
primary
#7B8A5B
secondary
#9B93AE
accent
#6BBD85
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100B
muted
#7F7F7C