#2E6917#2E6917
#2E6917 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.4% C 0.129 H 138.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6917 |
|---|---|
| RGB | rgb(46, 105, 23) |
| HSL | hsl(103, 64%, 25%) |
| HSV | hsv(103, 78%, 41%) |
| CMYK | cmyk(56.2%, 0%, 78.1%, 58.8%) |
| CIE-LAB | lab(39.15, -35.01, 37.86) |
| CIE-LCH | lch(39.15, 51.56, 132.76°) |
| OKLab | oklab(46.38% -0.0966 0.0852) |
| OKLCH | oklch(46.38% 0.129 138.6) |
| XYZ | xyz(6.3327, 10.7454, 2.5508) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.83
Deep Green
#02590F
ΔE00 6.35
Forest Green
#2D5A27
ΔE00 6.94
Forest
#0B5509
ΔE00 7.05
Camouflage Green
#4B6113
ΔE00 7.27
Tree Green
#2A7E19
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6917 #521769
analogous
#576917 #2E6917 #176929
triadic
#2E6917 #172E69 #69172E
tetradic
#2E6917 #175769 #521769 #692917
square
#2E6917 #175769 #521769 #692917
split-complementary
#2E6917 #291769 #691757
monochromatic
#0B1905 #18370C #2E6917 #449B22 #5ACD2D
Accessibility & contrast
On white
6.67
#2E6917 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2E6917 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6917
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6917 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#655A1F
Tritanopia (blue-blind)
#296559
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2e6917; /* rgb */ color: rgb(46, 105, 23); /* oklch */ color: oklch(46.4% 0.129 138.6);
Tailwind
colors: {
custom: {
50: '#6e945a',
500: '#2e6917',
950: '#000000',
},
}SCSS
$custom: #2e6917; $custom-light: #6e945a; $custom-dark: #000000;
JSON
{
"hex": "#2e6917",
"rgb": {
"r": 46,
"g": 105,
"b": 23
},
"hsl": {
"h": 103.171,
"s": 64.063,
"l": 25.098
},
"oklch": {
"l": 0.4638,
"c": 0.12878,
"h": 138.6
},
"luminance": 0.10746
}Semantic roles & 50–950 ramp
primary
#2E6917
secondary
#843D9F
accent
#41E7B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79