#799D42#799D42
#799D42 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.9% C 0.126 H 127.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #799D42 |
|---|---|
| RGB | rgb(121, 157, 66) |
| HSL | hsl(84, 41%, 44%) |
| HSV | hsv(84, 58%, 62%) |
| CMYK | cmyk(22.9%, 0%, 58%, 38.4%) |
| CIE-LAB | lab(60.40, -27.41, 42.82) |
| CIE-LCH | lch(60.40, 50.84, 122.62°) |
| OKLab | oklab(64.92% -0.0772 0.1002) |
| OKLCH | oklch(64.92% 0.126 127.6) |
| XYZ | xyz(20.9254, 28.5719, 9.5657) |
| Luminance | 0.2857 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Flat Green
#699D4C
ΔE00 4.12
Drab Green
#749551
ΔE00 4.56
Moss
#769958
ΔE00 4.85
Off Green
#6BA353
ΔE00 4.96
Leaf
#71AA34
ΔE00 5.03
Asparagus
#77AB56
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#799D42 #66429D
analogous
#9D9342 #799D42 #4B9D42
triadic
#799D42 #42799D #9D4279
tetradic
#799D42 #429D93 #66429D #9D424B
square
#799D42 #429D93 #66429D #9D424B
split-complementary
#799D42 #424B9D #93429D
monochromatic
#37471E #587230 #799D42 #98BC60 #B4CE8B
Accessibility & contrast
On white
3.13
#799D42 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#799D42 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #799D42
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##799D42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##799D42 | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49339
Deuteranopia (green-blind)
#9F9148
Tritanopia (blue-blind)
#7D9689
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #799d42; /* rgb */ color: rgb(121, 157, 66); /* oklch */ color: oklch(64.9% 0.126 127.6);
Tailwind
colors: {
custom: {
50: '#a2ba79',
500: '#799d42',
950: '#000000',
},
}SCSS
$custom: #799d42; $custom-light: #a2ba79; $custom-dark: #000000;
JSON
{
"hex": "#799d42",
"rgb": {
"r": 121,
"g": 157,
"b": 66
},
"hsl": {
"h": 83.736,
"s": 40.807,
"l": 43.725
},
"oklch": {
"l": 0.64923,
"c": 0.12644,
"h": 127.6
},
"luminance": 0.28572
}Semantic roles & 50–950 ramp
primary
#799D42
secondary
#9882B9
accent
#57D187
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B