#798D5E#798D5E
#798D5E is a mid, moderate yellow-green. Relative luminance 0.239; OKLCH L 61.5% C 0.071 H 127.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #798D5E |
|---|---|
| RGB | rgb(121, 141, 94) |
| HSL | hsl(86, 20%, 46%) |
| HSV | hsv(86, 33%, 55%) |
| CMYK | cmyk(14.2%, 0%, 33.3%, 44.7%) |
| CIE-LAB | lab(56.01, -15.85, 22.78) |
| CIE-LCH | lch(56.01, 27.75, 124.83°) |
| OKLab | oklab(61.52% -0.043 0.0568) |
| OKLCH | oklch(61.52% 0.071 127.1) |
| XYZ | xyz(19.4302, 23.9227, 14.1814) |
| Luminance | 0.2392 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Green Grey
#77926F
ΔE00 4.51
Camo
#7F8F4E
ΔE00 4.63
Drab Green
#749551
ΔE00 5.19
Moss
#769958
ΔE00 5.49
Moss Green
#8A9A5B
ΔE00 6.03
Dark Sage
#598556
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798D5E #725E8D
analogous
#8D895E #798D5E #618D5E
triadic
#798D5E #5E798D #8D5E79
tetradic
#798D5E #5E8D89 #725E8D #8D5E61
square
#798D5E #5E8D89 #725E8D #8D5E61
split-complementary
#798D5E #5E618D #895E8D
monochromatic
#3A442D #596846 #798D5E #97A97F #B5C2A3
Accessibility & contrast
On white
3.63
#798D5E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#798D5E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798D5E
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798D5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798D5E | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92875B
Deuteranopia (green-blind)
#8F8660
Tritanopia (blue-blind)
#7B8981
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #798d5e; /* rgb */ color: rgb(121, 141, 94); /* oklch */ color: oklch(61.5% 0.071 127.1);
Tailwind
colors: {
custom: {
50: '#a0ae8c',
500: '#798d5e',
950: '#000000',
},
}SCSS
$custom: #798d5e; $custom-light: #a0ae8c; $custom-dark: #000000;
JSON
{
"hex": "#798d5e",
"rgb": {
"r": 121,
"g": 141,
"b": 94
},
"hsl": {
"h": 85.532,
"s": 20,
"l": 46.078
},
"oklch": {
"l": 0.61518,
"c": 0.07127,
"h": 127.1
},
"luminance": 0.23923
}Semantic roles & 50–950 ramp
primary
#798D5E
secondary
#A197B0
accent
#6BBD8E
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D