#2E7311#2E7311
#2E7311 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.145 H 138.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7311 |
|---|---|
| RGB | rgb(46, 115, 17) |
| HSL | hsl(102, 74%, 26%) |
| HSV | hsv(102, 85%, 45%) |
| CMYK | cmyk(60%, 0%, 85.2%, 54.9%) |
| CIE-LAB | lab(42.59, -39.42, 43.20) |
| CIE-LCH | lch(42.59, 58.49, 132.38°) |
| OKLab | oklab(49.21% -0.1088 0.0954) |
| OKLCH | oklch(49.21% 0.145 138.8) |
| XYZ | xyz(7.3583, 12.8821, 2.6289) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.84
Dark Grass Green
#388004
ΔE00 5.05
Green
#008000
ΔE00 5.14
Darkgreen
#006400
ΔE00 5.85
Darkish Green
#287C37
ΔE00 6.21
Forestgreen (CSS)
#228B22
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7311 #561173
analogous
#5F7311 #2E7311 #117325
triadic
#2E7311 #112E73 #73112E
tetradic
#2E7311 #115F73 #561173 #732511
square
#2E7311 #115F73 #561173 #732511
split-complementary
#2E7311 #251173 #73115F
monochromatic
#0B1B04 #193E09 #2E7311 #43A819 #59DE21
Accessibility & contrast
On white
5.87
#2E7311 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#2E7311 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7311
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7311 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7311 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#276F61
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2e7311; /* rgb */ color: rgb(46, 115, 17); /* oklch */ color: oklch(49.2% 0.145 138.8);
Tailwind
colors: {
custom: {
50: '#709c59',
500: '#2e7311',
950: '#000000',
},
}SCSS
$custom: #2e7311; $custom-light: #709c59; $custom-dark: #000000;
JSON
{
"hex": "#2e7311",
"rgb": {
"r": 46,
"g": 115,
"b": 17
},
"hsl": {
"h": 102.245,
"s": 74.242,
"l": 25.882
},
"oklch": {
"l": 0.49205,
"c": 0.14474,
"h": 138.8
},
"luminance": 0.12883
}Semantic roles & 50–950 ramp
primary
#2E7311
secondary
#8836AA
accent
#37F1BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79