#2E6B17#2E6B17
#2E6B17 is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.131 H 138.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6B17 |
|---|---|
| RGB | rgb(46, 107, 23) |
| HSL | hsl(104, 65%, 25%) |
| HSV | hsv(104, 79%, 42%) |
| CMYK | cmyk(57%, 0%, 78.5%, 58%) |
| CIE-LAB | lab(39.84, -35.83, 38.55) |
| CIE-LCH | lch(39.84, 52.63, 132.91°) |
| OKLab | oklab(46.95% -0.0988 0.0866) |
| OKLCH | oklch(46.95% 0.131 138.8) |
| XYZ | xyz(6.5388, 11.1576, 2.6195) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.06
Tree Green
#2A7E19
ΔE00 6.59
Deep Green
#02590F
ΔE00 6.89
Darkish Green
#287C37
ΔE00 7.16
Forest Green
#2D5A27
ΔE00 7.54
Camouflage Green
#4B6113
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6B17 #54176B
analogous
#586B17 #2E6B17 #176B2A
triadic
#2E6B17 #172E6B #6B172E
tetradic
#2E6B17 #17586B #54176B #6B2A17
square
#2E6B17 #17586B #54176B #6B2A17
split-complementary
#2E6B17 #2A176B #6B1758
monochromatic
#0B1905 #18390C #2E6B17 #449D22 #59D02D
Accessibility & contrast
On white
6.50
#2E6B17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#2E6B17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6B17
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6B17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6B17 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6106
Deuteranopia (green-blind)
#675C20
Tritanopia (blue-blind)
#28675B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2e6b17; /* rgb */ color: rgb(46, 107, 23); /* oklch */ color: oklch(47.0% 0.131 138.8);
Tailwind
colors: {
custom: {
50: '#6e965b',
500: '#2e6b17',
950: '#000000',
},
}SCSS
$custom: #2e6b17; $custom-light: #6e965b; $custom-dark: #000000;
JSON
{
"hex": "#2e6b17",
"rgb": {
"r": 46,
"g": 107,
"b": 23
},
"hsl": {
"h": 103.571,
"s": 64.615,
"l": 25.49
},
"oklch": {
"l": 0.46954,
"c": 0.13142,
"h": 138.8
},
"luminance": 0.11158
}Semantic roles & 50–950 ramp
primary
#2E6B17
secondary
#863DA1
accent
#40E8BA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79