#2E6A17#2E6A17
#2E6A17 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.130 H 138.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6A17 |
|---|---|
| RGB | rgb(46, 106, 23) |
| HSL | hsl(103, 64%, 25%) |
| HSV | hsv(103, 78%, 42%) |
| CMYK | cmyk(56.6%, 0%, 78.3%, 58.4%) |
| CIE-LAB | lab(39.50, -35.42, 38.20) |
| CIE-LCH | lch(39.50, 52.10, 132.84°) |
| OKLab | oklab(46.67% -0.0977 0.0859) |
| OKLCH | oklch(46.67% 0.13 138.7) |
| XYZ | xyz(6.4352, 10.9503, 2.5850) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.93
Deep Green
#02590F
ΔE00 6.62
Tree Green
#2A7E19
ΔE00 6.93
Forest Green
#2D5A27
ΔE00 7.24
Forest
#0B5509
ΔE00 7.35
Darkish Green
#287C37
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6A17 #53176A
analogous
#586A17 #2E6A17 #176A29
triadic
#2E6A17 #172E6A #6A172E
tetradic
#2E6A17 #17586A #53176A #6A2917
square
#2E6A17 #17586A #53176A #6A2917
split-complementary
#2E6A17 #29176A #6A1758
monochromatic
#0B1905 #18380C #2E6A17 #449C22 #5ACF2D
Accessibility & contrast
On white
6.58
#2E6A17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#2E6A17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6A17
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6A17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6A17 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6006
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#29665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2e6a17; /* rgb */ color: rgb(46, 106, 23); /* oklch */ color: oklch(46.7% 0.130 138.7);
Tailwind
colors: {
custom: {
50: '#6e955a',
500: '#2e6a17',
950: '#000000',
},
}SCSS
$custom: #2e6a17; $custom-light: #6e955a; $custom-dark: #000000;
JSON
{
"hex": "#2e6a17",
"rgb": {
"r": 46,
"g": 106,
"b": 23
},
"hsl": {
"h": 103.373,
"s": 64.341,
"l": 25.294
},
"oklch": {
"l": 0.46667,
"c": 0.1301,
"h": 138.7
},
"luminance": 0.10951
}Semantic roles & 50–950 ramp
primary
#2E6A17
secondary
#853DA0
accent
#40E7B9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79