#798F5D#798F5D
#798F5D is a mid, moderate yellow-green. Relative luminance 0.245; OKLCH L 62.0% C 0.076 H 127.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #798F5D |
|---|---|
| RGB | rgb(121, 143, 93) |
| HSL | hsl(86, 21%, 46%) |
| HSV | hsv(86, 35%, 56%) |
| CMYK | cmyk(15.4%, 0%, 35%, 43.9%) |
| CIE-LAB | lab(56.59, -17.05, 24.09) |
| CIE-LCH | lch(56.59, 29.51, 125.29°) |
| OKLab | oklab(61.97% -0.0464 0.0599) |
| OKLCH | oklch(61.97% 0.076 127.8) |
| XYZ | xyz(19.6831, 24.5000, 14.0458) |
| Luminance | 0.2450 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 4.17
Drab Green
#749551
ΔE00 4.27
Moss
#769958
ΔE00 4.54
Green Grey
#77926F
ΔE00 4.75
Moss Green
#8A9A5B
ΔE00 5.38
Khaki Green
#728639
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798F5D #735D8F
analogous
#8F8C5D #798F5D #608F5D
triadic
#798F5D #5D798F #8F5D79
tetradic
#798F5D #5D8F8C #735D8F #8F5D60
square
#798F5D #5D8F8C #735D8F #8F5D60
split-complementary
#798F5D #5D608F #8C5D8F
monochromatic
#3A452D #5A6A45 #798F5D #97AB7E #B5C3A3
Accessibility & contrast
On white
3.56
#798F5D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#798F5D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798F5D
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798F5D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798F5D | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94895A
Deuteranopia (green-blind)
#91875F
Tritanopia (blue-blind)
#7B8B82
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #798f5d; /* rgb */ color: rgb(121, 143, 93); /* oklch */ color: oklch(62.0% 0.076 127.8);
Tailwind
colors: {
custom: {
50: '#a0af8b',
500: '#798f5d',
950: '#000000',
},
}SCSS
$custom: #798f5d; $custom-light: #a0af8b; $custom-dark: #000000;
JSON
{
"hex": "#798f5d",
"rgb": {
"r": 121,
"g": 143,
"b": 93
},
"hsl": {
"h": 86.4,
"s": 21.186,
"l": 46.275
},
"oklch": {
"l": 0.61972,
"c": 0.07578,
"h": 127.8
},
"luminance": 0.245
}Semantic roles & 50–950 ramp
primary
#798F5D
secondary
#A296B1
accent
#6ABE8F
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100C
muted
#7E7F7D