#798E5B#798E5B
#798E5B is a mid, moderate yellow-green. Relative luminance 0.242; OKLCH L 61.7% C 0.077 H 126.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #798E5B |
|---|---|
| RGB | rgb(121, 142, 91) |
| HSL | hsl(85, 22%, 46%) |
| HSV | hsv(85, 36%, 56%) |
| CMYK | cmyk(14.8%, 0%, 35.9%, 44.3%) |
| CIE-LAB | lab(56.25, -16.81, 24.76) |
| CIE-LCH | lch(56.25, 29.93, 124.18°) |
| OKLab | oklab(61.7% -0.0458 0.0614) |
| OKLCH | oklch(61.7% 0.077 126.7) |
| XYZ | xyz(19.4463, 24.1661, 13.5355) |
| Luminance | 0.2417 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 3.80
Drab Green
#749551
ΔE00 4.27
Moss
#769958
ΔE00 4.71
Green Grey
#77926F
ΔE00 5.19
Moss Green
#8A9A5B
ΔE00 5.36
Khaki Green
#728639
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798E5B #705B8E
analogous
#8E895B #798E5B #5F8E5B
triadic
#798E5B #5B798E #8E5B79
tetradic
#798E5B #5B8E89 #705B8E #8E5B5F
square
#798E5B #5B8E89 #705B8E #8E5B5F
split-complementary
#798E5B #5B5F8E #895B8E
monochromatic
#39432B #596943 #798E5B #97AB7B #B5C3A1
Accessibility & contrast
On white
3.60
#798E5B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#798E5B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798E5B
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798E5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798E5B | 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)
#938857
Deuteranopia (green-blind)
#90875E
Tritanopia (blue-blind)
#7C8A81
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #798e5b; /* rgb */ color: rgb(121, 142, 91); /* oklch */ color: oklch(61.7% 0.077 126.7);
Tailwind
colors: {
custom: {
50: '#a0af8a',
500: '#798e5b',
950: '#000000',
},
}SCSS
$custom: #798e5b; $custom-light: #a0af8a; $custom-dark: #000000;
JSON
{
"hex": "#798e5b",
"rgb": {
"r": 121,
"g": 142,
"b": 91
},
"hsl": {
"h": 84.706,
"s": 21.888,
"l": 45.686
},
"oklch": {
"l": 0.61695,
"c": 0.07661,
"h": 126.7
},
"luminance": 0.24166
}Semantic roles & 50–950 ramp
primary
#798E5B
secondary
#A094B1
accent
#69BE8C
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100B
muted
#7E7F7C