#7B8F58#7B8F58
#7B8F58 is a light, moderate yellow-green. Relative luminance 0.246; OKLCH L 62.0% C 0.081 H 125.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7B8F58 |
|---|---|
| RGB | rgb(123, 143, 88) |
| HSL | hsl(82, 24%, 45%) |
| HSV | hsv(82, 38%, 56%) |
| CMYK | cmyk(14%, 0%, 38.5%, 43.9%) |
| CIE-LAB | lab(56.64, -16.96, 26.94) |
| CIE-LCH | lch(56.64, 31.84, 122.19°) |
| OKLab | oklab(62.03% -0.0464 0.0664) |
| OKLCH | oklch(62.03% 0.081 125) |
| XYZ | xyz(19.7521, 24.5603, 12.9306) |
| Luminance | 0.2456 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.72
Drab Green
#749551
ΔE00 3.70
Moss
#769958
ΔE00 4.30
Moss Green
#8A9A5B
ΔE00 4.49
Khaki Green
#728639
ΔE00 5.90
Green Grey
#77926F
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B8F58 #6C588F
analogous
#8F8758 #7B8F58 #5F8F58
triadic
#7B8F58 #587B8F #8F587B
tetradic
#7B8F58 #588F87 #6C588F #8F585F
square
#7B8F58 #588F87 #6C588F #8F585F
split-complementary
#7B8F58 #585F8F #87588F
monochromatic
#3A4329 #5A6941 #7B8F58 #99AC78 #B6C39E
Accessibility & contrast
On white
3.55
#7B8F58 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#7B8F58 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B8F58
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B8F58 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B8F58 | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958954
Deuteranopia (green-blind)
#92885B
Tritanopia (blue-blind)
#7E8A81
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #7b8f58; /* rgb */ color: rgb(123, 143, 88); /* oklch */ color: oklch(62.0% 0.081 125.0);
Tailwind
colors: {
custom: {
50: '#a2af88',
500: '#7b8f58',
950: '#000000',
},
}SCSS
$custom: #7b8f58; $custom-light: #a2af88; $custom-dark: #000000;
JSON
{
"hex": "#7b8f58",
"rgb": {
"r": 123,
"g": 143,
"b": 88
},
"hsl": {
"h": 81.818,
"s": 23.81,
"l": 45.294
},
"oklch": {
"l": 0.62029,
"c": 0.08099,
"h": 125
},
"luminance": 0.2456
}Semantic roles & 50–950 ramp
primary
#7B8F58
secondary
#9D92B1
accent
#68C088
background
#FAFAF8
surface
#F3F4EF
border
#CDCECA
text
#0F100B
muted
#7F7F7C