#798E61#798E61
#798E61 is a mid, moderate yellow-green. Relative luminance 0.243; OKLCH L 61.8% C 0.069 H 128.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #798E61 |
|---|---|
| RGB | rgb(121, 142, 97) |
| HSL | hsl(88, 19%, 47%) |
| HSV | hsv(88, 32%, 56%) |
| CMYK | cmyk(14.8%, 0%, 31.7%, 44.3%) |
| CIE-LAB | lab(56.36, -15.92, 21.57) |
| CIE-LCH | lch(56.36, 26.81, 126.43°) |
| OKLab | oklab(61.82% -0.0431 0.0541) |
| OKLCH | oklch(61.82% 0.069 128.6) |
| XYZ | xyz(19.7155, 24.2738, 14.9536) |
| Luminance | 0.2427 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Green Grey
#77926F
ΔE00 3.78
Camo
#7F8F4E
ΔE00 5.24
Drab Green
#749551
ΔE00 5.45
Moss
#769958
ΔE00 5.56
Moss Green
#8A9A5B
ΔE00 6.26
Slate Green
#658D6D
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798E61 #76618E
analogous
#8E8D61 #798E61 #638E61
triadic
#798E61 #61798E #8E6179
tetradic
#798E61 #618E8D #76618E #8E6163
square
#798E61 #618E8D #76618E #8E6163
split-complementary
#798E61 #61638E #8D618E
monochromatic
#3B452F #5A6A48 #798E61 #97AA82 #B6C3A7
Accessibility & contrast
On white
3.59
#798E61 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#798E61 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798E61
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798E61 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798E61 | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92885E
Deuteranopia (green-blind)
#8F8763
Tritanopia (blue-blind)
#7B8A82
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #798e61; /* rgb */ color: rgb(121, 142, 97); /* oklch */ color: oklch(61.8% 0.069 128.6);
Tailwind
colors: {
custom: {
50: '#a0af8e',
500: '#798e61',
950: '#000000',
},
}SCSS
$custom: #798e61; $custom-light: #a0af8e; $custom-dark: #000000;
JSON
{
"hex": "#798e61",
"rgb": {
"r": 121,
"g": 142,
"b": 97
},
"hsl": {
"h": 88,
"s": 18.828,
"l": 46.863
},
"oklch": {
"l": 0.61816,
"c": 0.06916,
"h": 128.6
},
"luminance": 0.24274
}Semantic roles & 50–950 ramp
primary
#798E61
secondary
#A59AB1
accent
#6CBB91
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D