#2E6717#2E6717
#2E6717 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.8% C 0.126 H 138.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6717 |
|---|---|
| RGB | rgb(46, 103, 23) |
| HSL | hsl(103, 63%, 25%) |
| HSV | hsv(103, 78%, 40%) |
| CMYK | cmyk(55.3%, 0%, 77.7%, 59.6%) |
| CIE-LAB | lab(38.45, -34.17, 37.16) |
| CIE-LCH | lch(38.45, 50.48, 132.60°) |
| OKLab | oklab(45.81% -0.0943 0.0837) |
| OKLCH | oklch(45.81% 0.126 138.4) |
| XYZ | xyz(6.1314, 10.3427, 2.4837) |
| Luminance | 0.1034 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.73
Deep Green
#02590F
ΔE00 5.84
Forest Green
#2D5A27
ΔE00 6.36
Forest
#0B5509
ΔE00 6.48
Camouflage Green
#4B6113
ΔE00 7.01
Navy Green
#35530A
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6717 #501767
analogous
#566717 #2E6717 #176728
triadic
#2E6717 #172E67 #67172E
tetradic
#2E6717 #175667 #501767 #672817
square
#2E6717 #175667 #501767 #672817
split-complementary
#2E6717 #281767 #671756
monochromatic
#0B1906 #18350C #2E6717 #449922 #5BCB2D
Accessibility & contrast
On white
6.84
#2E6717 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2E6717 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6717
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6717 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6717 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D08
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#296358
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2e6717; /* rgb */ color: rgb(46, 103, 23); /* oklch */ color: oklch(45.8% 0.126 138.4);
Tailwind
colors: {
custom: {
50: '#6d935a',
500: '#2e6717',
950: '#000000',
},
}SCSS
$custom: #2e6717; $custom-light: #6d935a; $custom-dark: #000000;
JSON
{
"hex": "#2e6717",
"rgb": {
"r": 46,
"g": 103,
"b": 23
},
"hsl": {
"h": 102.75,
"s": 63.492,
"l": 24.706
},
"oklch": {
"l": 0.45805,
"c": 0.12614,
"h": 138.4
},
"luminance": 0.10343
}Semantic roles & 50–950 ramp
primary
#2E6717
secondary
#813D9D
accent
#41E7B7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79