#798E56#798E56
#798E56 is a mid, moderate yellow-green. Relative luminance 0.241; OKLCH L 61.6% C 0.083 H 125.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #798E56 |
|---|---|
| RGB | rgb(121, 142, 86) |
| HSL | hsl(83, 25%, 45%) |
| HSV | hsv(83, 39%, 56%) |
| CMYK | cmyk(14.8%, 0%, 39.4%, 44.3%) |
| CIE-LAB | lab(56.17, -17.51, 27.39) |
| CIE-LCH | lch(56.17, 32.51, 122.59°) |
| OKLab | oklab(61.6% -0.048 0.0673) |
| OKLCH | oklch(61.6% 0.083 125.5) |
| XYZ | xyz(19.2377, 24.0827, 12.4372) |
| Luminance | 0.2408 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.74
Drab Green
#749551
ΔE00 3.57
Moss
#769958
ΔE00 4.33
Moss Green
#8A9A5B
ΔE00 4.87
Khaki Green
#728639
ΔE00 5.51
Swamp
#698339
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798E56 #6B568E
analogous
#8E8756 #798E56 #5D8E56
triadic
#798E56 #56798E #8E5679
tetradic
#798E56 #568E87 #6B568E #8E565D
square
#798E56 #568E87 #6B568E #8E565D
split-complementary
#798E56 #565D8E #87568E
monochromatic
#384228 #59683F #798E56 #97AC75 #B4C39C
Accessibility & contrast
On white
3.61
#798E56 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#798E56 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798E56
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798E56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798E56 | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948752
Deuteranopia (green-blind)
#918659
Tritanopia (blue-blind)
#7C8980
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #798e56; /* rgb */ color: rgb(121, 142, 86); /* oklch */ color: oklch(61.6% 0.083 125.5);
Tailwind
colors: {
custom: {
50: '#a0af86',
500: '#798e56',
950: '#000000',
},
}SCSS
$custom: #798e56; $custom-light: #a0af86; $custom-dark: #000000;
JSON
{
"hex": "#798e56",
"rgb": {
"r": 121,
"g": 142,
"b": 86
},
"hsl": {
"h": 82.5,
"s": 24.561,
"l": 44.706
},
"oklch": {
"l": 0.61602,
"c": 0.0827,
"h": 125.5
},
"luminance": 0.24083
}Semantic roles & 50–950 ramp
primary
#798E56
secondary
#9C90B0
accent
#67C189
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F100B
muted
#7E7F7C