#798E55#798E55
#798E55 is a mid, moderate yellow-green. Relative luminance 0.241; OKLCH L 61.6% C 0.084 H 125.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #798E55 |
|---|---|
| RGB | rgb(121, 142, 85) |
| HSL | hsl(82, 25%, 45%) |
| HSV | hsv(82, 40%, 56%) |
| CMYK | cmyk(14.8%, 0%, 40.1%, 44.3%) |
| CIE-LAB | lab(56.15, -17.65, 27.92) |
| CIE-LCH | lch(56.15, 33.03, 122.30°) |
| OKLab | oklab(61.58% -0.0484 0.0685) |
| OKLCH | oklch(61.58% 0.084 125.3) |
| XYZ | xyz(19.1977, 24.0667, 12.2265) |
| Luminance | 0.2407 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.54
Drab Green
#749551
ΔE00 3.47
Moss
#769958
ΔE00 4.30
Moss Green
#8A9A5B
ΔE00 4.80
Khaki Green
#728639
ΔE00 5.32
Swamp
#698339
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798E55 #6A558E
analogous
#8E8755 #798E55 #5D8E55
triadic
#798E55 #55798E #8E5579
tetradic
#798E55 #558E87 #6A558E #8E555D
square
#798E55 #558E87 #6A558E #8E555D
split-complementary
#798E55 #555D8E #87558E
monochromatic
#384127 #58683E #798E55 #97AC74 #B4C39B
Accessibility & contrast
On white
3.61
#798E55 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#798E55 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798E55
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798E55 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798E55 | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948751
Deuteranopia (green-blind)
#918658
Tritanopia (blue-blind)
#7C8980
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #798e55; /* rgb */ color: rgb(121, 142, 85); /* oklch */ color: oklch(61.6% 0.084 125.3);
Tailwind
colors: {
custom: {
50: '#a0af85',
500: '#798e55',
950: '#000000',
},
}SCSS
$custom: #798e55; $custom-light: #a0af85; $custom-dark: #000000;
JSON
{
"hex": "#798e55",
"rgb": {
"r": 121,
"g": 142,
"b": 85
},
"hsl": {
"h": 82.105,
"s": 25.11,
"l": 44.51
},
"oklch": {
"l": 0.61584,
"c": 0.0839,
"h": 125.3
},
"luminance": 0.24067
}Semantic roles & 50–950 ramp
primary
#798E55
secondary
#9B8FB0
accent
#66C288
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F100B
muted
#7E7F7C