#798E5A#798E5A
#798E5A is a mid, moderate yellow-green. Relative luminance 0.241; OKLCH L 61.7% C 0.078 H 126.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #798E5A |
|---|---|
| RGB | rgb(121, 142, 90) |
| HSL | hsl(84, 22%, 45%) |
| HSV | hsv(84, 37%, 56%) |
| CMYK | cmyk(14.8%, 0%, 36.6%, 44.3%) |
| CIE-LAB | lab(56.24, -16.96, 25.29) |
| CIE-LCH | lch(56.24, 30.45, 123.84°) |
| OKLab | oklab(61.68% -0.0463 0.0626) |
| OKLCH | oklch(61.68% 0.078 126.5) |
| XYZ | xyz(19.4034, 24.1490, 13.3099) |
| Luminance | 0.2415 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 3.58
Drab Green
#749551
ΔE00 4.11
Moss
#769958
ΔE00 4.60
Moss Green
#8A9A5B
ΔE00 5.24
Green Grey
#77926F
ΔE00 5.43
Khaki Green
#728639
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798E5A #6F5A8E
analogous
#8E895A #798E5A #5F8E5A
triadic
#798E5A #5A798E #8E5A79
tetradic
#798E5A #5A8E89 #6F5A8E #8E5A5F
square
#798E5A #5A8E89 #6F5A8E #8E5A5F
split-complementary
#798E5A #5A5F8E #895A8E
monochromatic
#39432B #596942 #798E5A #97AB7A #B5C3A0
Accessibility & contrast
On white
3.60
#798E5A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#798E5A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798E5A
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798E5A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798E5A | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938856
Deuteranopia (green-blind)
#90865D
Tritanopia (blue-blind)
#7C8981
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #798e5a; /* rgb */ color: rgb(121, 142, 90); /* oklch */ color: oklch(61.7% 0.078 126.5);
Tailwind
colors: {
custom: {
50: '#a0af89',
500: '#798e5a',
950: '#000000',
},
}SCSS
$custom: #798e5a; $custom-light: #a0af89; $custom-dark: #000000;
JSON
{
"hex": "#798e5a",
"rgb": {
"r": 121,
"g": 142,
"b": 90
},
"hsl": {
"h": 84.231,
"s": 22.414,
"l": 45.49
},
"oklch": {
"l": 0.61676,
"c": 0.07785,
"h": 126.5
},
"luminance": 0.24149
}Semantic roles & 50–950 ramp
primary
#798E5A
secondary
#9F93B1
accent
#69BF8C
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100B
muted
#7E7F7C