#798E53#798E53
#798E53 is a mid, moderate yellow-green. Relative luminance 0.240; OKLCH L 61.5% C 0.086 H 124.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #798E53 |
|---|---|
| RGB | rgb(121, 142, 83) |
| HSL | hsl(81, 26%, 44%) |
| HSV | hsv(81, 42%, 56%) |
| CMYK | cmyk(14.8%, 0%, 41.5%, 44.3%) |
| CIE-LAB | lab(56.12, -17.91, 28.96) |
| CIE-LCH | lch(56.12, 34.05, 121.74°) |
| OKLab | oklab(61.55% -0.0493 0.0708) |
| OKLCH | oklch(61.55% 0.086 124.9) |
| XYZ | xyz(19.1194, 24.0354, 11.8140) |
| Luminance | 0.2404 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.19
Drab Green
#749551
ΔE00 3.31
Moss
#769958
ΔE00 4.27
Moss Green
#8A9A5B
ΔE00 4.70
Khaki Green
#728639
ΔE00 4.94
Swamp
#698339
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798E53 #68538E
analogous
#8E8653 #798E53 #5C8E53
triadic
#798E53 #53798E #8E5379
tetradic
#798E53 #538E86 #68538E #8E535C
square
#798E53 #538E86 #68538E #8E535C
split-complementary
#798E53 #535C8E #86538E
monochromatic
#374126 #58673C #798E53 #98AC72 #B4C398
Accessibility & contrast
On white
3.62
#798E53 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#798E53 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798E53
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798E53 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798E53 | 1.00 | 3.62 | 5.81 | 5.81 |
| #FFFFFF | 3.62 | 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)
#94874F
Deuteranopia (green-blind)
#918656
Tritanopia (blue-blind)
#7D8980
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #798e53; /* rgb */ color: rgb(121, 142, 83); /* oklch */ color: oklch(61.5% 0.086 124.9);
Tailwind
colors: {
custom: {
50: '#a0af84',
500: '#798e53',
950: '#000000',
},
}SCSS
$custom: #798e53; $custom-light: #a0af84; $custom-dark: #000000;
JSON
{
"hex": "#798e53",
"rgb": {
"r": 121,
"g": 142,
"b": 83
},
"hsl": {
"h": 81.356,
"s": 26.222,
"l": 44.118
},
"oklch": {
"l": 0.61548,
"c": 0.08628,
"h": 124.9
},
"luminance": 0.24035
}Semantic roles & 50–950 ramp
primary
#798E53
secondary
#998DB0
accent
#65C386
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F100B
muted
#7E7F7C