#798E5F#798E5F
#798E5F is a mid, moderate yellow-green. Relative luminance 0.242; OKLCH L 61.8% C 0.072 H 127.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #798E5F |
|---|---|
| RGB | rgb(121, 142, 95) |
| HSL | hsl(87, 20%, 46%) |
| HSV | hsv(87, 33%, 56%) |
| CMYK | cmyk(14.8%, 0%, 33.1%, 44.3%) |
| CIE-LAB | lab(56.32, -16.23, 22.64) |
| CIE-LCH | lch(56.32, 27.85, 125.63°) |
| OKLab | oklab(61.78% -0.044 0.0565) |
| OKLCH | oklch(61.78% 0.072 127.9) |
| XYZ | xyz(19.6234, 24.2370, 14.4686) |
| Luminance | 0.2424 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Green Grey
#77926F
ΔE00 4.25
Camo
#7F8F4E
ΔE00 4.74
Drab Green
#749551
ΔE00 5.02
Moss
#769958
ΔE00 5.23
Moss Green
#8A9A5B
ΔE00 5.92
Slate Green
#658D6D
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798E5F #745F8E
analogous
#8E8C5F #798E5F #628E5F
triadic
#798E5F #5F798E #8E5F79
tetradic
#798E5F #5F8E8C #745F8E #8E5F62
square
#798E5F #5F8E8C #745F8E #8E5F62
split-complementary
#798E5F #5F628E #8C5F8E
monochromatic
#3B452E #5A6946 #798E5F #97AA80 #B5C3A5
Accessibility & contrast
On white
3.59
#798E5F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#798E5F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798E5F
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798E5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798E5F | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93885C
Deuteranopia (green-blind)
#908761
Tritanopia (blue-blind)
#7B8A82
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #798e5f; /* rgb */ color: rgb(121, 142, 95); /* oklch */ color: oklch(61.8% 0.072 127.9);
Tailwind
colors: {
custom: {
50: '#a0af8d',
500: '#798e5f',
950: '#000000',
},
}SCSS
$custom: #798e5f; $custom-light: #a0af8d; $custom-dark: #000000;
JSON
{
"hex": "#798e5f",
"rgb": {
"r": 121,
"g": 142,
"b": 95
},
"hsl": {
"h": 86.809,
"s": 19.831,
"l": 46.471
},
"oklch": {
"l": 0.61775,
"c": 0.07165,
"h": 127.9
},
"luminance": 0.24237
}Semantic roles & 50–950 ramp
primary
#798E5F
secondary
#A398B1
accent
#6BBC90
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D