#798E50#798E50
#798E50 is a mid, moderate yellow-green. Relative luminance 0.240; OKLCH L 61.5% C 0.090 H 124.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #798E50 |
|---|---|
| RGB | rgb(121, 142, 80) |
| HSL | hsl(80, 28%, 44%) |
| HSV | hsv(80, 44%, 56%) |
| CMYK | cmyk(14.8%, 0%, 43.7%, 44.3%) |
| CIE-LAB | lab(56.08, -18.30, 30.52) |
| CIE-LCH | lch(56.08, 35.58, 120.94°) |
| OKLab | oklab(61.5% -0.0506 0.0742) |
| OKLCH | oklch(61.5% 0.09 124.3) |
| XYZ | xyz(19.0061, 23.9900, 11.2171) |
| Luminance | 0.2399 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 1.75
Drab Green
#749551
ΔE00 3.19
Moss
#769958
ΔE00 4.32
Khaki Green
#728639
ΔE00 4.41
Moss Green
#8A9A5B
ΔE00 4.64
Swamp
#698339
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798E50 #65508E
analogous
#8E8450 #798E50 #5A8E50
triadic
#798E50 #50798E #8E5079
tetradic
#798E50 #508E84 #65508E #8E505A
square
#798E50 #508E84 #65508E #8E505A
split-complementary
#798E50 #505A8E #84508E
monochromatic
#364024 #58673A #798E50 #98AD6E #B4C395
Accessibility & contrast
On white
3.62
#798E50 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#798E50 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798E50
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798E50 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798E50 | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94874B
Deuteranopia (green-blind)
#918653
Tritanopia (blue-blind)
#7D897F
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #798e50; /* rgb */ color: rgb(121, 142, 80); /* oklch */ color: oklch(61.5% 0.090 124.3);
Tailwind
colors: {
custom: {
50: '#a1af82',
500: '#798e50',
950: '#000000',
},
}SCSS
$custom: #798e50; $custom-light: #a1af82; $custom-dark: #000000;
JSON
{
"hex": "#798e50",
"rgb": {
"r": 121,
"g": 142,
"b": 80
},
"hsl": {
"h": 80.323,
"s": 27.928,
"l": 43.529
},
"oklch": {
"l": 0.61497,
"c": 0.08978,
"h": 124.3
},
"luminance": 0.2399
}Semantic roles & 50–950 ramp
primary
#798E50
secondary
#978AB0
accent
#64C484
background
#FAFAF8
surface
#F3F4EF
border
#CDCECA
text
#0F100A
muted
#7F7F7C