#2E6818#2E6818
#2E6818 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.1% C 0.127 H 138.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6818 |
|---|---|
| RGB | rgb(46, 104, 24) |
| HSL | hsl(104, 63%, 25%) |
| HSV | hsv(104, 77%, 41%) |
| CMYK | cmyk(55.8%, 0%, 76.9%, 59.2%) |
| CIE-LAB | lab(38.81, -34.51, 37.12) |
| CIE-LCH | lch(38.81, 50.68, 132.92°) |
| OKLab | oklab(46.1% -0.0952 0.0838) |
| OKLCH | oklch(46.1% 0.127 138.6) |
| XYZ | xyz(6.2417, 10.5469, 2.5708) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.80
Deep Green
#02590F
ΔE00 6.05
Forest Green
#2D5A27
ΔE00 6.55
Forest
#0B5509
ΔE00 6.74
Camouflage Green
#4B6113
ΔE00 7.19
Darkolivegreen
#556B2F
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6818 #521868
analogous
#566818 #2E6818 #18682A
triadic
#2E6818 #182E68 #68182E
tetradic
#2E6818 #185668 #521868 #682A18
square
#2E6818 #185668 #521868 #682A18
split-complementary
#2E6818 #2A1868 #681856
monochromatic
#0B1906 #18360D #2E6818 #449A23 #5ACB2F
Accessibility & contrast
On white
6.75
#2E6818 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2E6818 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6818
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6818 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#296458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2e6818; /* rgb */ color: rgb(46, 104, 24); /* oklch */ color: oklch(46.1% 0.127 138.6);
Tailwind
colors: {
custom: {
50: '#6e945b',
500: '#2e6818',
950: '#000000',
},
}SCSS
$custom: #2e6818; $custom-light: #6e945b; $custom-dark: #000000;
JSON
{
"hex": "#2e6818",
"rgb": {
"r": 46,
"g": 104,
"b": 24
},
"hsl": {
"h": 103.5,
"s": 62.5,
"l": 25.098
},
"oklch": {
"l": 0.461,
"c": 0.12681,
"h": 138.6
},
"luminance": 0.10547
}Semantic roles & 50–950 ramp
primary
#2E6818
secondary
#843E9E
accent
#42E6B9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79