#2E7617#2E7617
#2E7617 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.145 H 139.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7617 |
|---|---|
| RGB | rgb(46, 118, 23) |
| HSL | hsl(105, 67%, 28%) |
| HSV | hsv(105, 81%, 46%) |
| CMYK | cmyk(61%, 0%, 80.5%, 53.7%) |
| CIE-LAB | lab(43.65, -40.22, 42.27) |
| CIE-LCH | lch(43.65, 58.34, 133.58°) |
| OKLab | oklab(50.1% -0.1106 0.0944) |
| OKLCH | oklch(50.1% 0.145 139.5) |
| XYZ | xyz(7.7595, 13.5989, 3.0264) |
| Luminance | 0.1360 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.81
Green
#008000
ΔE00 4.38
Dark Grass Green
#388004
ΔE00 4.42
Darkish Green
#287C37
ΔE00 5.33
Darkgreen
#006400
ΔE00 6.67
Forestgreen (CSS)
#228B22
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7617 #5F1776
analogous
#5D7617 #2E7617 #177630
triadic
#2E7617 #172E76 #76172E
tetradic
#2E7617 #175D76 #5F1776 #763017
square
#2E7617 #175D76 #5F1776 #763017
split-complementary
#2E7617 #301776 #76175D
monochromatic
#0A1A05 #1A430D #2E7617 #42A921 #59D731
Accessibility & contrast
On white
5.65
#2E7617 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#2E7617 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7617
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7617 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7617 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6B01
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#257264
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2e7617; /* rgb */ color: rgb(46, 118, 23); /* oklch */ color: oklch(50.1% 0.145 139.5);
Tailwind
colors: {
custom: {
50: '#709e5c',
500: '#2e7617',
950: '#000000',
},
}SCSS
$custom: #2e7617; $custom-light: #709e5c; $custom-dark: #000000;
JSON
{
"hex": "#2e7617",
"rgb": {
"r": 46,
"g": 118,
"b": 23
},
"hsl": {
"h": 105.474,
"s": 67.376,
"l": 27.647
},
"oklch": {
"l": 0.50097,
"c": 0.14542,
"h": 139.5
},
"luminance": 0.136
}Semantic roles & 50–950 ramp
primary
#2E7617
secondary
#913EAB
accent
#3EEAC0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79