#798B59#798B59
#798B59 is a mid, moderate yellow-green. Relative luminance 0.233; OKLCH L 60.9% C 0.074 H 124.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #798B59 |
|---|---|
| RGB | rgb(121, 139, 89) |
| HSL | hsl(82, 22%, 45%) |
| HSV | hsv(82, 36%, 55%) |
| CMYK | cmyk(12.9%, 0%, 36%, 45.5%) |
| CIE-LAB | lab(55.33, -15.51, 24.65) |
| CIE-LCH | lch(55.33, 29.13, 122.18°) |
| OKLab | oklab(60.95% -0.0422 0.0611) |
| OKLCH | oklch(60.95% 0.074 124.7) |
| XYZ | xyz(18.9208, 23.2514, 12.9404) |
| Luminance | 0.2325 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 3.81
Drab Green
#749551
ΔE00 5.12
Green Grey
#77926F
ΔE00 5.73
Moss
#769958
ΔE00 5.75
Moss Green
#8A9A5B
ΔE00 5.94
Khaki Green
#728639
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798B59 #6B598B
analogous
#8B8459 #798B59 #608B59
triadic
#798B59 #59798B #8B5979
tetradic
#798B59 #598B84 #6B598B #8B5960
square
#798B59 #598B84 #6B598B #8B5960
split-complementary
#798B59 #59608B #84598B
monochromatic
#384029 #596641 #798B59 #97A978 #B4C19E
Accessibility & contrast
On white
3.72
#798B59 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#798B59 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798B59
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798B59 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798B59 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908555
Deuteranopia (green-blind)
#8E845B
Tritanopia (blue-blind)
#7C867E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #798b59; /* rgb */ color: rgb(121, 139, 89); /* oklch */ color: oklch(60.9% 0.074 124.7);
Tailwind
colors: {
custom: {
50: '#a0ad88',
500: '#798b59',
950: '#000000',
},
}SCSS
$custom: #798b59; $custom-light: #a0ad88; $custom-dark: #000000;
JSON
{
"hex": "#798b59",
"rgb": {
"r": 121,
"g": 139,
"b": 89
},
"hsl": {
"h": 81.6,
"s": 21.93,
"l": 44.706
},
"oklch": {
"l": 0.60945,
"c": 0.07428,
"h": 124.7
},
"luminance": 0.23251
}Semantic roles & 50–950 ramp
primary
#798B59
secondary
#9C91AE
accent
#69BE88
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100B
muted
#7E7F7C