#2E7118#2E7118
#2E7118 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.139 H 139.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7118 |
|---|---|
| RGB | rgb(46, 113, 24) |
| HSL | hsl(105, 65%, 27%) |
| HSV | hsv(105, 79%, 44%) |
| CMYK | cmyk(59.3%, 0%, 78.8%, 55.7%) |
| CIE-LAB | lab(41.93, -38.18, 40.23) |
| CIE-LCH | lch(41.93, 55.47, 133.50°) |
| OKLab | oklab(48.68% -0.1051 0.0903) |
| OKLCH | oklch(48.68% 0.139 139.3) |
| XYZ | xyz(7.1964, 12.4564, 2.8891) |
| Luminance | 0.1246 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.54
Darkgreen
#006400
ΔE00 5.28
Darkish Green
#287C37
ΔE00 5.85
Green
#008000
ΔE00 5.96
Dark Grass Green
#388004
ΔE00 6.06
Darkolivegreen
#556B2F
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7118 #5B1871
analogous
#5B7118 #2E7118 #18712F
triadic
#2E7118 #182E71 #71182E
tetradic
#2E7118 #185B71 #5B1871 #712F18
square
#2E7118 #185B71 #5B1871 #712F18
split-complementary
#2E7118 #2F1871 #71185B
monochromatic
#0A1905 #193F0D #2E7118 #43A323 #59D330
Accessibility & contrast
On white
6.01
#2E7118 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#2E7118 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7118
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7118 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#276D60
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2e7118; /* rgb */ color: rgb(46, 113, 24); /* oklch */ color: oklch(48.7% 0.139 139.3);
Tailwind
colors: {
custom: {
50: '#6f9a5c',
500: '#2e7118',
950: '#000000',
},
}SCSS
$custom: #2e7118; $custom-light: #6f9a5c; $custom-dark: #000000;
JSON
{
"hex": "#2e7118",
"rgb": {
"r": 46,
"g": 113,
"b": 24
},
"hsl": {
"h": 105.169,
"s": 64.964,
"l": 26.863
},
"oklch": {
"l": 0.48678,
"c": 0.13855,
"h": 139.3
},
"luminance": 0.12457
}Semantic roles & 50–950 ramp
primary
#2E7118
secondary
#8D3EA6
accent
#40E8BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79