#798F58#798F58
#798F58 is a mid, moderate yellow-green. Relative luminance 0.244; OKLCH L 61.9% C 0.082 H 126.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #798F58 |
|---|---|
| RGB | rgb(121, 143, 88) |
| HSL | hsl(84, 24%, 45%) |
| HSV | hsv(84, 38%, 56%) |
| CMYK | cmyk(15.4%, 0%, 38.5%, 43.9%) |
| CIE-LAB | lab(56.50, -17.76, 26.73) |
| CIE-LCH | lch(56.50, 32.09, 123.61°) |
| OKLab | oklab(61.88% -0.0486 0.0659) |
| OKLCH | oklch(61.88% 0.082 126.4) |
| XYZ | xyz(19.4689, 24.4143, 12.9174) |
| Luminance | 0.2441 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 3.09
Drab Green
#749551
ΔE00 3.44
Moss
#769958
ΔE00 4.04
Moss Green
#8A9A5B
ΔE00 4.80
Green Grey
#77926F
ΔE00 5.93
Khaki Green
#728639
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798F58 #6E588F
analogous
#8F8A58 #798F58 #5D8F58
triadic
#798F58 #58798F #8F5879
tetradic
#798F58 #588F8A #6E588F #8F585D
square
#798F58 #588F8A #6E588F #8F585D
split-complementary
#798F58 #585D8F #8A588F
monochromatic
#394329 #596941 #798F58 #97AC78 #B4C39E
Accessibility & contrast
On white
3.57
#798F58 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#798F58 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798F58
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798F58 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798F58 | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948854
Deuteranopia (green-blind)
#91875B
Tritanopia (blue-blind)
#7C8A81
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #798f58; /* rgb */ color: rgb(121, 143, 88); /* oklch */ color: oklch(61.9% 0.082 126.4);
Tailwind
colors: {
custom: {
50: '#a0af88',
500: '#798f58',
950: '#000000',
},
}SCSS
$custom: #798f58; $custom-light: #a0af88; $custom-dark: #000000;
JSON
{
"hex": "#798f58",
"rgb": {
"r": 121,
"g": 143,
"b": 88
},
"hsl": {
"h": 84,
"s": 23.81,
"l": 45.294
},
"oklch": {
"l": 0.61876,
"c": 0.08187,
"h": 126.4
},
"luminance": 0.24414
}Semantic roles & 50–950 ramp
primary
#798F58
secondary
#9E92B1
accent
#68C08B
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F100B
muted
#7E7F7C