#2E6E12#2E6E12
#2E6E12 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.138 H 138.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6E12 |
|---|---|
| RGB | rgb(46, 110, 18) |
| HSL | hsl(102, 72%, 25%) |
| HSV | hsv(102, 84%, 43%) |
| CMYK | cmyk(58.2%, 0%, 83.6%, 56.9%) |
| CIE-LAB | lab(40.86, -37.39, 41.29) |
| CIE-LCH | lch(40.86, 55.70, 132.16°) |
| OKLab | oklab(47.78% -0.1033 0.0916) |
| OKLCH | oklch(47.78% 0.138 138.4) |
| XYZ | xyz(6.8116, 11.7758, 2.4862) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.58
Tree Green
#2A7E19
ΔE00 5.52
Dark Grass Green
#388004
ΔE00 6.72
Green
#008000
ΔE00 6.76
Darkish Green
#287C37
ΔE00 6.92
Deep Green
#02590F
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6E12 #52126E
analogous
#5C6E12 #2E6E12 #126E24
triadic
#2E6E12 #122E6E #6E122E
tetradic
#2E6E12 #125C6E #52126E #6E2412
square
#2E6E12 #125C6E #52126E #6E2412
split-complementary
#2E6E12 #24126E #6E125C
monochromatic
#0B1A04 #183909 #2E6E12 #44A31B #5AD723
Accessibility & contrast
On white
6.26
#2E6E12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#2E6E12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6E12
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6E12 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5E1D
Tritanopia (blue-blind)
#286A5D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2e6e12; /* rgb */ color: rgb(46, 110, 18); /* oklch */ color: oklch(47.8% 0.138 138.4);
Tailwind
colors: {
custom: {
50: '#6f9859',
500: '#2e6e12',
950: '#000000',
},
}SCSS
$custom: #2e6e12; $custom-light: #6f9859; $custom-dark: #000000;
JSON
{
"hex": "#2e6e12",
"rgb": {
"r": 46,
"g": 110,
"b": 18
},
"hsl": {
"h": 101.739,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.4778,
"c": 0.13806,
"h": 138.4
},
"luminance": 0.11776
}Semantic roles & 50–950 ramp
primary
#2E6E12
secondary
#8437A5
accent
#39EFB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79