#2E6817#2E6817
#2E6817 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.1% C 0.127 H 138.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6817 |
|---|---|
| RGB | rgb(46, 104, 23) |
| HSL | hsl(103, 64%, 25%) |
| HSV | hsv(103, 78%, 41%) |
| CMYK | cmyk(55.8%, 0%, 77.9%, 59.2%) |
| CIE-LAB | lab(38.80, -34.59, 37.51) |
| CIE-LCH | lch(38.80, 51.02, 132.68°) |
| OKLab | oklab(46.09% -0.0955 0.0845) |
| OKLCH | oklch(46.09% 0.127 138.5) |
| XYZ | xyz(6.2315, 10.5428, 2.5170) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.77
Deep Green
#02590F
ΔE00 6.09
Forest Green
#2D5A27
ΔE00 6.65
Forest
#0B5509
ΔE00 6.76
Camouflage Green
#4B6113
ΔE00 7.14
Darkolivegreen
#556B2F
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6817 #511768
analogous
#576817 #2E6817 #176828
triadic
#2E6817 #172E68 #68172E
tetradic
#2E6817 #175768 #511768 #682817
square
#2E6817 #175768 #511768 #682817
split-complementary
#2E6817 #281768 #681757
monochromatic
#0B1906 #18360C #2E6817 #449A22 #5ACC2D
Accessibility & contrast
On white
6.76
#2E6817 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2E6817 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6817
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6817 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6817 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E07
Deuteranopia (green-blind)
#645A1F
Tritanopia (blue-blind)
#296458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2e6817; /* rgb */ color: rgb(46, 104, 23); /* oklch */ color: oklch(46.1% 0.127 138.5);
Tailwind
colors: {
custom: {
50: '#6e945a',
500: '#2e6817',
950: '#000000',
},
}SCSS
$custom: #2e6817; $custom-light: #6e945a; $custom-dark: #000000;
JSON
{
"hex": "#2e6817",
"rgb": {
"r": 46,
"g": 104,
"b": 23
},
"hsl": {
"h": 102.963,
"s": 63.78,
"l": 24.902
},
"oklch": {
"l": 0.46092,
"c": 0.12747,
"h": 138.5
},
"luminance": 0.10543
}Semantic roles & 50–950 ramp
primary
#2E6817
secondary
#833D9E
accent
#41E7B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79