#799B42#799B42
#799B42 is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.4% C 0.124 H 127.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #799B42 |
|---|---|
| RGB | rgb(121, 155, 66) |
| HSL | hsl(83, 40%, 43%) |
| HSV | hsv(83, 57%, 61%) |
| CMYK | cmyk(21.9%, 0%, 57.4%, 39.2%) |
| CIE-LAB | lab(59.80, -26.43, 42.13) |
| CIE-LCH | lch(59.80, 49.73, 122.10°) |
| OKLab | oklab(64.44% -0.0745 0.0987) |
| OKLCH | oklch(64.44% 0.124 127) |
| XYZ | xyz(20.5898, 27.9007, 9.4538) |
| Luminance | 0.2790 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Drab Green
#749551
ΔE00 4.14
Flat Green
#699D4C
ΔE00 4.24
Moss
#769958
ΔE00 4.62
Off Green
#6BA353
ΔE00 5.27
Olivedrab
#6B8E23
ΔE00 5.34
Moss Green
#8A9A5B
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#799B42 #64429B
analogous
#9B9042 #799B42 #4D9B42
triadic
#799B42 #42799B #9B4279
tetradic
#799B42 #429B90 #64429B #9B424D
square
#799B42 #429B90 #64429B #9B424D
split-complementary
#799B42 #424D9B #90429B
monochromatic
#36451D #577030 #799B42 #98BB5F #B4CD8A
Accessibility & contrast
On white
3.19
#799B42 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#799B42 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #799B42
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##799B42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##799B42 | 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)
#A29139
Deuteranopia (green-blind)
#9E8F48
Tritanopia (blue-blind)
#7D9487
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #799b42; /* rgb */ color: rgb(121, 155, 66); /* oklch */ color: oklch(64.4% 0.124 127.0);
Tailwind
colors: {
custom: {
50: '#a2b879',
500: '#799b42',
950: '#000000',
},
}SCSS
$custom: #799b42; $custom-light: #a2b879; $custom-dark: #000000;
JSON
{
"hex": "#799b42",
"rgb": {
"r": 121,
"g": 155,
"b": 66
},
"hsl": {
"h": 82.921,
"s": 40.271,
"l": 43.333
},
"oklch": {
"l": 0.64436,
"c": 0.12362,
"h": 127
},
"luminance": 0.27901
}Semantic roles & 50–950 ramp
primary
#799B42
secondary
#9681B8
accent
#58D086
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B