#2E7628#2E7628
#2E7628 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.134 H 142.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7628 |
|---|---|
| RGB | rgb(46, 118, 40) |
| HSL | hsl(115, 49%, 31%) |
| HSV | hsv(115, 66%, 46%) |
| CMYK | cmyk(61%, 0%, 66.1%, 53.7%) |
| CIE-LAB | lab(43.79, -38.69, 35.35) |
| CIE-LCH | lch(43.79, 52.40, 137.58°) |
| OKLab | oklab(50.25% -0.1054 0.0822) |
| OKLCH | oklch(50.25% 0.134 142.1) |
| XYZ | xyz(7.9877, 13.6902, 4.2286) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.21
Tree Green
#2A7E19
ΔE00 3.84
Green
#008000
ΔE00 5.67
Dark Grass Green
#388004
ΔE00 6.17
Jungle Green
#048243
ΔE00 6.64
Darkgreen
#006400
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7628 #702876
analogous
#557628 #2E7628 #287649
triadic
#2E7628 #282E76 #76282E
tetradic
#2E7628 #285576 #702876 #764928
square
#2E7628 #285576 #702876 #764928
split-complementary
#2E7628 #492876 #762855
monochromatic
#0A1B09 #1C4819 #2E7628 #40A437 #5CC554
Accessibility & contrast
On white
5.62
#2E7628 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#2E7628 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7628
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7628 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7628 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#237266
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2e7628; /* rgb */ color: rgb(46, 118, 40); /* oklch */ color: oklch(50.2% 0.134 142.1);
Tailwind
colors: {
custom: {
50: '#6f9e65',
500: '#2e7628',
950: '#000000',
},
}SCSS
$custom: #2e7628; $custom-light: #6f9e65; $custom-dark: #000000;
JSON
{
"hex": "#2e7628",
"rgb": {
"r": 46,
"g": 118,
"b": 40
},
"hsl": {
"h": 115.385,
"s": 49.367,
"l": 30.98
},
"oklch": {
"l": 0.50249,
"c": 0.13368,
"h": 142.1
},
"luminance": 0.13691
}Semantic roles & 50–950 ramp
primary
#2E7628
secondary
#A152A8
accent
#4FD9CE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A