#2E6A18#2E6A18
#2E6A18 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.129 H 138.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6A18 |
|---|---|
| RGB | rgb(46, 106, 24) |
| HSL | hsl(104, 63%, 25%) |
| HSV | hsv(104, 77%, 42%) |
| CMYK | cmyk(56.6%, 0%, 77.4%, 58.4%) |
| CIE-LAB | lab(39.50, -35.34, 37.82) |
| CIE-LCH | lch(39.50, 51.76, 133.06°) |
| OKLab | oklab(46.68% -0.0974 0.0853) |
| OKLCH | oklch(46.68% 0.129 138.8) |
| XYZ | xyz(6.4454, 10.9543, 2.6387) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.96
Deep Green
#02590F
ΔE00 6.58
Tree Green
#2A7E19
ΔE00 6.96
Forest Green
#2D5A27
ΔE00 7.15
Darkish Green
#287C37
ΔE00 7.32
Forest
#0B5509
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6A18 #54186A
analogous
#576A18 #2E6A18 #186A2B
triadic
#2E6A18 #182E6A #6A182E
tetradic
#2E6A18 #18576A #54186A #6A2B18
square
#2E6A18 #18576A #54186A #6A2B18
split-complementary
#2E6A18 #2B186A #6A1857
monochromatic
#0B1906 #18380D #2E6A18 #449C23 #59CE2F
Accessibility & contrast
On white
6.58
#2E6A18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#2E6A18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6A18
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6A18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6A18 | 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)
#6D6008
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#28665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2e6a18; /* rgb */ color: rgb(46, 106, 24); /* oklch */ color: oklch(46.7% 0.129 138.8);
Tailwind
colors: {
custom: {
50: '#6e955b',
500: '#2e6a18',
950: '#000000',
},
}SCSS
$custom: #2e6a18; $custom-light: #6e955b; $custom-dark: #000000;
JSON
{
"hex": "#2e6a18",
"rgb": {
"r": 46,
"g": 106,
"b": 24
},
"hsl": {
"h": 103.902,
"s": 63.077,
"l": 25.49
},
"oklch": {
"l": 0.46675,
"c": 0.12947,
"h": 138.8
},
"luminance": 0.10955
}Semantic roles & 50–950 ramp
primary
#2E6A18
secondary
#863EA0
accent
#42E6BA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79