#798B60#798B60
#798B60 is a mid, moderate yellow-green. Relative luminance 0.234; OKLCH L 61.1% C 0.065 H 126.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #798B60 |
|---|---|
| RGB | rgb(121, 139, 96) |
| HSL | hsl(85, 18%, 46%) |
| HSV | hsv(85, 31%, 55%) |
| CMYK | cmyk(12.9%, 0%, 30.9%, 45.5%) |
| CIE-LAB | lab(55.46, -14.48, 20.92) |
| CIE-LCH | lch(55.46, 25.44, 124.69°) |
| OKLab | oklab(61.09% -0.0391 0.0525) |
| OKLCH | oklch(61.09% 0.065 126.7) |
| XYZ | xyz(19.2288, 23.3746, 14.5628) |
| Luminance | 0.2338 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Green Grey
#77926F
ΔE00 4.29
Camo
#7F8F4E
ΔE00 5.50
Drab Green
#749551
ΔE00 6.34
Moss
#769958
ΔE00 6.63
Moss Green
#8A9A5B
ΔE00 6.93
Slate Green
#658D6D
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798B60 #72608B
analogous
#8B8760 #798B60 #638B60
triadic
#798B60 #60798B #8B6079
tetradic
#798B60 #608B87 #72608B #8B6063
square
#798B60 #608B87 #72608B #8B6063
split-complementary
#798B60 #60638B #87608B
monochromatic
#3A432E #596747 #798B60 #97A881 #B5C1A5
Accessibility & contrast
On white
3.70
#798B60 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#798B60 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798B60
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798B60 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798B60 | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90865D
Deuteranopia (green-blind)
#8D8562
Tritanopia (blue-blind)
#7B8780
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #798b60; /* rgb */ color: rgb(121, 139, 96); /* oklch */ color: oklch(61.1% 0.065 126.7);
Tailwind
colors: {
custom: {
50: '#a0ad8d',
500: '#798b60',
950: '#000000',
},
}SCSS
$custom: #798b60; $custom-light: #a0ad8d; $custom-dark: #000000;
JSON
{
"hex": "#798b60",
"rgb": {
"r": 121,
"g": 139,
"b": 96
},
"hsl": {
"h": 85.116,
"s": 18.298,
"l": 46.078
},
"oklch": {
"l": 0.61087,
"c": 0.06544,
"h": 126.7
},
"luminance": 0.23375
}Semantic roles & 50–950 ramp
primary
#798B60
secondary
#A198AF
accent
#6DBB8E
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E100C
muted
#7E7F7D