#799B40#799B40
#799B40 is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.4% C 0.125 H 126.8°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #799B40 |
|---|---|
| RGB | rgb(121, 155, 64) |
| HSL | hsl(82, 42%, 43%) |
| HSV | hsv(82, 59%, 61%) |
| CMYK | cmyk(21.9%, 0%, 58.7%, 39.2%) |
| CIE-LAB | lab(59.78, -26.62, 43.05) |
| CIE-LCH | lch(59.78, 50.62, 121.73°) |
| OKLab | oklab(64.41% -0.0752 0.1004) |
| OKLCH | oklch(64.41% 0.125 126.8) |
| XYZ | xyz(20.5319, 27.8775, 9.1487) |
| Luminance | 0.2788 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Drab Green
#749551
ΔE00 4.42
Flat Green
#699D4C
ΔE00 4.45
Moss
#769958
ΔE00 4.94
Olivedrab
#6B8E23
ΔE00 5.18
Off Green
#6BA353
ΔE00 5.49
Leaf
#71AA34
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#799B40 #62409B
analogous
#9B9040 #799B40 #4B9B40
triadic
#799B40 #40799B #9B4079
tetradic
#799B40 #409B90 #62409B #9B404B
square
#799B40 #409B90 #62409B #9B404B
split-complementary
#799B40 #404B9B #90409B
monochromatic
#35441C #57702E #799B40 #98BC5C #B4CE88
Accessibility & contrast
On white
3.19
#799B40 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#799B40 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #799B40
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##799B40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##799B40 | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A29136
Deuteranopia (green-blind)
#9E8F46
Tritanopia (blue-blind)
#7D9487
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #799b40; /* rgb */ color: rgb(121, 155, 64); /* oklch */ color: oklch(64.4% 0.125 126.8);
Tailwind
colors: {
custom: {
50: '#a2b878',
500: '#799b40',
950: '#000000',
},
}SCSS
$custom: #799b40; $custom-light: #a2b878; $custom-dark: #000000;
JSON
{
"hex": "#799b40",
"rgb": {
"r": 121,
"g": 155,
"b": 64
},
"hsl": {
"h": 82.418,
"s": 41.553,
"l": 42.941
},
"oklch": {
"l": 0.64412,
"c": 0.12547,
"h": 126.8
},
"luminance": 0.27878
}Semantic roles & 50–950 ramp
primary
#799B40
secondary
#947EB8
accent
#56D184
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B