#798B4E#798B4E
#798B4E is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.7% C 0.088 H 122.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #798B4E |
|---|---|
| RGB | rgb(121, 139, 78) |
| HSL | hsl(78, 28%, 43%) |
| HSV | hsv(78, 44%, 55%) |
| CMYK | cmyk(12.9%, 0%, 43.9%, 45.5%) |
| CIE-LAB | lab(55.15, -16.97, 30.42) |
| CIE-LCH | lch(55.15, 34.84, 119.16°) |
| OKLab | oklab(60.75% -0.047 0.0739) |
| OKLCH | oklch(60.75% 0.088 122.5) |
| XYZ | xyz(18.4929, 23.0802, 10.6869) |
| Luminance | 0.2308 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 1.87
Khaki Green
#728639
ΔE00 3.83
Drab Green
#749551
ΔE00 4.29
Swamp
#698339
ΔE00 4.73
Moss Green
#8A9A5B
ΔE00 5.34
Moss
#769958
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798B4E #604E8B
analogous
#8B7F4E #798B4E #5A8B4E
triadic
#798B4E #4E798B #8B4E79
tetradic
#798B4E #4E8B7F #604E8B #8B4E5A
square
#798B4E #4E8B7F #604E8B #8B4E5A
split-complementary
#798B4E #4E5A8B #7F4E8B
monochromatic
#353D22 #576438 #798B4E #98AC6B #B4C292
Accessibility & contrast
On white
3.74
#798B4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#798B4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798B4E
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798B4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798B4E | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918449
Deuteranopia (green-blind)
#8F8451
Tritanopia (blue-blind)
#7D867C
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #798b4e; /* rgb */ color: rgb(121, 139, 78); /* oklch */ color: oklch(60.7% 0.088 122.5);
Tailwind
colors: {
custom: {
50: '#a1ad80',
500: '#798b4e',
950: '#000000',
},
}SCSS
$custom: #798b4e; $custom-light: #a1ad80; $custom-dark: #000000;
JSON
{
"hex": "#798b4e",
"rgb": {
"r": 121,
"g": 139,
"b": 78
},
"hsl": {
"h": 77.705,
"s": 28.111,
"l": 42.549
},
"oklch": {
"l": 0.60747,
"c": 0.08755,
"h": 122.5
},
"luminance": 0.2308
}Semantic roles & 50–950 ramp
primary
#798B4E
secondary
#9287AE
accent
#63C480
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C