#798E5E#798E5E
#798E5E is a mid, moderate yellow-green. Relative luminance 0.242; OKLCH L 61.8% C 0.073 H 127.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #798E5E |
|---|---|
| RGB | rgb(121, 142, 94) |
| HSL | hsl(86, 20%, 46%) |
| HSV | hsv(86, 34%, 56%) |
| CMYK | cmyk(14.8%, 0%, 33.8%, 44.3%) |
| CIE-LAB | lab(56.31, -16.38, 23.17) |
| CIE-LCH | lch(56.31, 28.37, 125.25°) |
| OKLab | oklab(61.76% -0.0445 0.0578) |
| OKLCH | oklch(61.76% 0.073 127.6) |
| XYZ | xyz(19.5783, 24.2189, 14.2308) |
| Luminance | 0.2422 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Green Grey
#77926F
ΔE00 4.49
Camo
#7F8F4E
ΔE00 4.50
Drab Green
#749551
ΔE00 4.82
Moss
#769958
ΔE00 5.08
Moss Green
#8A9A5B
ΔE00 5.77
Khaki Green
#728639
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798E5E #735E8E
analogous
#8E8B5E #798E5E #618E5E
triadic
#798E5E #5E798E #8E5E79
tetradic
#798E5E #5E8E8B #735E8E #8E5E61
square
#798E5E #5E8E8B #735E8E #8E5E61
split-complementary
#798E5E #5E618E #8B5E8E
monochromatic
#3A442D #5A6946 #798E5E #97AA7F #B5C3A4
Accessibility & contrast
On white
3.59
#798E5E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#798E5E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798E5E
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798E5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798E5E | 1.00 | 3.59 | 5.84 | 5.84 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93885B
Deuteranopia (green-blind)
#908760
Tritanopia (blue-blind)
#7B8A82
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #798e5e; /* rgb */ color: rgb(121, 142, 94); /* oklch */ color: oklch(61.8% 0.073 127.6);
Tailwind
colors: {
custom: {
50: '#a0af8c',
500: '#798e5e',
950: '#000000',
},
}SCSS
$custom: #798e5e; $custom-light: #a0af8c; $custom-dark: #000000;
JSON
{
"hex": "#798e5e",
"rgb": {
"r": 121,
"g": 142,
"b": 94
},
"hsl": {
"h": 86.25,
"s": 20.339,
"l": 46.275
},
"oklch": {
"l": 0.61755,
"c": 0.0729,
"h": 127.6
},
"luminance": 0.24219
}Semantic roles & 50–950 ramp
primary
#798E5E
secondary
#A297B1
accent
#6BBD8F
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D