#799C40#799C40
#799C40 is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.7% C 0.127 H 127.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #799C40 |
|---|---|
| RGB | rgb(121, 156, 64) |
| HSL | hsl(83, 42%, 43%) |
| HSV | hsv(83, 59%, 61%) |
| CMYK | cmyk(22.4%, 0%, 59%, 38.8%) |
| CIE-LAB | lab(60.08, -27.11, 43.40) |
| CIE-LCH | lch(60.08, 51.17, 121.99°) |
| OKLab | oklab(64.66% -0.0766 0.1012) |
| OKLCH | oklch(64.66% 0.127 127.1) |
| XYZ | xyz(20.6990, 28.2117, 9.2044) |
| Luminance | 0.2821 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Flat Green
#699D4C
ΔE00 4.39
Drab Green
#749551
ΔE00 4.62
Moss
#769958
ΔE00 5.04
Leaf
#71AA34
ΔE00 5.22
Off Green
#6BA353
ΔE00 5.33
Olivedrab
#6B8E23
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#799C40 #63409C
analogous
#9C9140 #799C40 #4B9C40
triadic
#799C40 #40799C #9C4079
tetradic
#799C40 #409C91 #63409C #9C404B
square
#799C40 #409C91 #63409C #9C404B
split-complementary
#799C40 #404B9C #91409C
monochromatic
#36451C #57712E #799C40 #98BC5D #B4CE88
Accessibility & contrast
On white
3.16
#799C40 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.64
#799C40 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #799C40
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##799C40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##799C40 | 1.00 | 3.16 | 6.64 | 6.64 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39236
Deuteranopia (green-blind)
#9F9046
Tritanopia (blue-blind)
#7D9588
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #799c40; /* rgb */ color: rgb(121, 156, 64); /* oklch */ color: oklch(64.7% 0.127 127.1);
Tailwind
colors: {
custom: {
50: '#a2b978',
500: '#799c40',
950: '#000000',
},
}SCSS
$custom: #799c40; $custom-light: #a2b978; $custom-dark: #000000;
JSON
{
"hex": "#799c40",
"rgb": {
"r": 121,
"g": 156,
"b": 64
},
"hsl": {
"h": 82.826,
"s": 41.818,
"l": 43.137
},
"oklch": {
"l": 0.64656,
"c": 0.12688,
"h": 127.1
},
"luminance": 0.28212
}Semantic roles & 50–950 ramp
primary
#799C40
secondary
#957FB9
accent
#56D285
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B