#2E6918#2E6918
#2E6918 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.4% C 0.128 H 138.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6918 |
|---|---|
| RGB | rgb(46, 105, 24) |
| HSL | hsl(104, 63%, 25%) |
| HSV | hsv(104, 77%, 41%) |
| CMYK | cmyk(56.2%, 0%, 77.1%, 58.8%) |
| CIE-LAB | lab(39.16, -34.93, 37.47) |
| CIE-LCH | lch(39.16, 51.22, 132.99°) |
| OKLab | oklab(46.39% -0.0963 0.0845) |
| OKLCH | oklch(46.39% 0.128 138.7) |
| XYZ | xyz(6.3429, 10.7494, 2.6046) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.86
Deep Green
#02590F
ΔE00 6.31
Forest Green
#2D5A27
ΔE00 6.85
Forest
#0B5509
ΔE00 7.03
Tree Green
#2A7E19
ΔE00 7.30
Camouflage Green
#4B6113
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6918 #531869
analogous
#566918 #2E6918 #18692B
triadic
#2E6918 #182E69 #69182E
tetradic
#2E6918 #185669 #531869 #692B18
square
#2E6918 #185669 #531869 #692B18
split-complementary
#2E6918 #2B1869 #691856
monochromatic
#0B1906 #18370D #2E6918 #449B23 #5ACD2F
Accessibility & contrast
On white
6.67
#2E6918 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2E6918 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6918
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6918 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#655A20
Tritanopia (blue-blind)
#296559
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2e6918; /* rgb */ color: rgb(46, 105, 24); /* oklch */ color: oklch(46.4% 0.128 138.7);
Tailwind
colors: {
custom: {
50: '#6e945b',
500: '#2e6918',
950: '#000000',
},
}SCSS
$custom: #2e6918; $custom-light: #6e945b; $custom-dark: #000000;
JSON
{
"hex": "#2e6918",
"rgb": {
"r": 46,
"g": 105,
"b": 24
},
"hsl": {
"h": 103.704,
"s": 62.791,
"l": 25.294
},
"oklch": {
"l": 0.46388,
"c": 0.12814,
"h": 138.7
},
"luminance": 0.1075
}Semantic roles & 50–950 ramp
primary
#2E6918
secondary
#853E9F
accent
#42E6B9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79