#2E6815#2E6815
#2E6815 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.1% C 0.129 H 138.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6815 |
|---|---|
| RGB | rgb(46, 104, 21) |
| HSL | hsl(102, 66%, 25%) |
| HSV | hsv(102, 80%, 41%) |
| CMYK | cmyk(55.8%, 0%, 79.8%, 59.2%) |
| CIE-LAB | lab(38.79, -34.74, 38.26) |
| CIE-LCH | lch(38.79, 51.68, 132.24°) |
| OKLab | oklab(46.08% -0.096 0.0857) |
| OKLCH | oklch(46.08% 0.129 138.2) |
| XYZ | xyz(6.2122, 10.5351, 2.4155) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.72
Deep Green
#02590F
ΔE00 6.18
Forest
#0B5509
ΔE00 6.82
Forest Green
#2D5A27
ΔE00 6.84
Camouflage Green
#4B6113
ΔE00 7.05
Darkolivegreen
#556B2F
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6815 #4F1568
analogous
#586815 #2E6815 #156826
triadic
#2E6815 #152E68 #68152E
tetradic
#2E6815 #155868 #4F1568 #682615
square
#2E6815 #155868 #4F1568 #682615
split-complementary
#2E6815 #261568 #681558
monochromatic
#0B1905 #17350B #2E6815 #459B1F #5BCE2A
Accessibility & contrast
On white
6.76
#2E6815 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2E6815 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6815
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6815 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6815 | 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)
#6B5E04
Deuteranopia (green-blind)
#645A1E
Tritanopia (blue-blind)
#296458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2e6815; /* rgb */ color: rgb(46, 104, 21); /* oklch */ color: oklch(46.1% 0.129 138.2);
Tailwind
colors: {
custom: {
50: '#6e9459',
500: '#2e6815',
950: '#000000',
},
}SCSS
$custom: #2e6815; $custom-light: #6e9459; $custom-dark: #000000;
JSON
{
"hex": "#2e6815",
"rgb": {
"r": 46,
"g": 104,
"b": 21
},
"hsl": {
"h": 101.928,
"s": 66.4,
"l": 24.51
},
"oklch": {
"l": 0.46077,
"c": 0.12871,
"h": 138.2
},
"luminance": 0.10536
}Semantic roles & 50–950 ramp
primary
#2E6815
secondary
#803A9F
accent
#3EE9B6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79