#7A985B#7A985B
#7A985B is a light, moderate yellow-green. Relative luminance 0.273; OKLCH L 64.2% C 0.092 H 130.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7A985B |
|---|---|
| RGB | rgb(122, 152, 91) |
| HSL | hsl(90, 25%, 48%) |
| HSV | hsv(90, 40%, 60%) |
| CMYK | cmyk(19.7%, 0%, 40.1%, 40.4%) |
| CIE-LAB | lab(59.30, -21.60, 28.73) |
| CIE-LCH | lch(59.30, 35.94, 126.94°) |
| OKLab | oklab(64.16% -0.0592 0.0706) |
| OKLCH | oklch(64.16% 0.092 130) |
| XYZ | xyz(21.1423, 27.3490, 14.0605) |
| Luminance | 0.2735 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss
#769958
ΔE00 1.18
Drab Green
#749551
ΔE00 1.98
Moss Green
#8A9A5B
ΔE00 3.96
Camo
#7F8F4E
ΔE00 4.53
Flat Green
#699D4C
ΔE00 4.84
Dull Green
#74A662
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A985B #795B98
analogous
#98975B #7A985B #5B985B
triadic
#7A985B #5B7A98 #985B7A
tetradic
#7A985B #5B9897 #795B98 #985B5B
square
#7A985B #5B9897 #795B98 #985B5B
split-complementary
#7A985B #5B5B98 #975B98
monochromatic
#3D4B2D #5B7244 #7A985B #99B27E #B7C9A5
Accessibility & contrast
On white
3.25
#7A985B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#7A985B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A985B
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A985B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A985B | 1.00 | 3.25 | 6.47 | 6.47 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D9057
Deuteranopia (green-blind)
#998E5E
Tritanopia (blue-blind)
#7C9389
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #7a985b; /* rgb */ color: rgb(122, 152, 91); /* oklch */ color: oklch(64.2% 0.092 130.0);
Tailwind
colors: {
custom: {
50: '#a1b68a',
500: '#7a985b',
950: '#000000',
},
}SCSS
$custom: #7a985b; $custom-light: #a1b68a; $custom-dark: #000000;
JSON
{
"hex": "#7a985b",
"rgb": {
"r": 122,
"g": 152,
"b": 91
},
"hsl": {
"h": 89.508,
"s": 25.103,
"l": 47.647
},
"oklch": {
"l": 0.64155,
"c": 0.09217,
"h": 130
},
"luminance": 0.27349
}Semantic roles & 50–950 ramp
primary
#7A985B
secondary
#A798B7
accent
#66C293
background
#FAFBF8
surface
#F3F6F0
border
#CDD0CB
text
#0F110C
muted
#7F807D