#2E6940#2E6940
#2E6940 is a mid, moderate green. Relative luminance 0.111; OKLCH L 47.0% C 0.091 H 151.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6940 |
|---|---|
| RGB | rgb(46, 105, 64) |
| HSL | hsl(138, 39%, 30%) |
| HSV | hsv(138, 56%, 41%) |
| CMYK | cmyk(56.2%, 0%, 39%, 58.8%) |
| CIE-LAB | lab(39.67, -29.35, 17.39) |
| CIE-LCH | lch(39.67, 34.11, 149.36°) |
| OKLab | oklab(46.98% -0.0797 0.0435) |
| OKLCH | oklch(46.98% 0.091 151.4) |
| XYZ | xyz(7.1032, 11.0536, 6.6087) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.09
Hunter Green
#355E3B
ΔE00 4.30
Spruce
#0A5F38
ΔE00 4.53
Forest Green
#2D5A27
ΔE00 6.37
Darkish Green
#287C37
ΔE00 8.31
Deep Green
#02590F
ΔE00 9.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6940 #692E57
analogous
#3A692E #2E6940 #2E695E
triadic
#2E6940 #402E69 #69402E
tetradic
#2E6940 #2E3A69 #692E57 #695E2E
square
#2E6940 #2E3A69 #692E57 #695E2E
split-complementary
#2E6940 #5E2E69 #692E3A
monochromatic
#09150D #1B3E26 #2E6940 #41945A #5AB777
Accessibility & contrast
On white
6.54
#2E6940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#2E6940 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6940
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6940 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69613D
Deuteranopia (green-blind)
#615B43
Tritanopia (blue-blind)
#20675F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2e6940; /* rgb */ color: rgb(46, 105, 64); /* oklch */ color: oklch(47.0% 0.091 151.4);
Tailwind
colors: {
custom: {
50: '#6c9475',
500: '#2e6940',
950: '#000000',
},
}SCSS
$custom: #2e6940; $custom-light: #6c9475; $custom-dark: #000000;
JSON
{
"hex": "#2e6940",
"rgb": {
"r": 46,
"g": 105,
"b": 64
},
"hsl": {
"h": 138.305,
"s": 39.073,
"l": 29.608
},
"oklch": {
"l": 0.46978,
"c": 0.09075,
"h": 151.4
},
"luminance": 0.11054
}Semantic roles & 50–950 ramp
primary
#2E6940
secondary
#9B5886
accent
#59ABCF
background
#F6F9F7
surface
#ECF1ED
border
#C7CBC8
text
#070D08
muted
#7A7E7B