#798C4E#798C4E
#798C4E is a mid, moderate yellow-green. Relative luminance 0.234; OKLCH L 61.0% C 0.089 H 123.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #798C4E |
|---|---|
| RGB | rgb(121, 140, 78) |
| HSL | hsl(78, 28%, 43%) |
| HSV | hsv(78, 44%, 55%) |
| CMYK | cmyk(13.6%, 0%, 44.3%, 45.1%) |
| CIE-LAB | lab(55.45, -17.50, 30.80) |
| CIE-LCH | lch(55.45, 35.42, 119.60°) |
| OKLab | oklab(60.99% -0.0485 0.0747) |
| OKLCH | oklch(60.99% 0.089 123) |
| XYZ | xyz(18.6384, 23.3711, 10.7354) |
| Luminance | 0.2337 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 1.68
Khaki Green
#728639
ΔE00 3.88
Drab Green
#749551
ΔE00 3.91
Swamp
#698339
ΔE00 4.81
Moss Green
#8A9A5B
ΔE00 5.09
Moss
#769958
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798C4E #614E8C
analogous
#8C804E #798C4E #5A8C4E
triadic
#798C4E #4E798C #8C4E79
tetradic
#798C4E #4E8C80 #614E8C #8C4E5A
square
#798C4E #4E8C80 #614E8C #8C4E5A
split-complementary
#798C4E #4E5A8C #804E8C
monochromatic
#353D22 #576538 #798C4E #98AC6B #B4C292
Accessibility & contrast
On white
3.70
#798C4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#798C4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798C4E
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798C4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798C4E | 1.00 | 3.70 | 5.67 | 5.67 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928549
Deuteranopia (green-blind)
#908551
Tritanopia (blue-blind)
#7D877D
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #798c4e; /* rgb */ color: rgb(121, 140, 78); /* oklch */ color: oklch(61.0% 0.089 123.0);
Tailwind
colors: {
custom: {
50: '#a1ad81',
500: '#798c4e',
950: '#000000',
},
}SCSS
$custom: #798c4e; $custom-light: #a1ad81; $custom-dark: #000000;
JSON
{
"hex": "#798c4e",
"rgb": {
"r": 121,
"g": 140,
"b": 78
},
"hsl": {
"h": 78.387,
"s": 28.44,
"l": 42.745
},
"oklch": {
"l": 0.60986,
"c": 0.08906,
"h": 123
},
"luminance": 0.23371
}Semantic roles & 50–950 ramp
primary
#798C4E
secondary
#9387AF
accent
#63C581
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C