#2E6A12#2E6A12
#2E6A12 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.6% C 0.133 H 138.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6A12 |
|---|---|
| RGB | rgb(46, 106, 18) |
| HSL | hsl(101, 71%, 24%) |
| HSV | hsv(101, 83%, 42%) |
| CMYK | cmyk(56.6%, 0%, 83%, 58.4%) |
| CIE-LAB | lab(39.47, -35.77, 39.98) |
| CIE-LCH | lch(39.47, 53.65, 131.82°) |
| OKLab | oklab(46.63% -0.099 0.0888) |
| OKLCH | oklch(46.63% 0.133 138.1) |
| XYZ | xyz(6.3897, 10.9321, 2.3455) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.88
Deep Green
#02590F
ΔE00 6.83
Tree Green
#2A7E19
ΔE00 6.87
Camouflage Green
#4B6113
ΔE00 7.25
Forest
#0B5509
ΔE00 7.50
Forest Green
#2D5A27
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6A12 #4E126A
analogous
#5A6A12 #2E6A12 #126A22
triadic
#2E6A12 #122E6A #6A122E
tetradic
#2E6A12 #125A6A #4E126A #6A2212
square
#2E6A12 #125A6A #4E126A #6A2212
split-complementary
#2E6A12 #22126A #6A125A
monochromatic
#0B1A04 #173609 #2E6A12 #459E1B #5BD324
Accessibility & contrast
On white
6.59
#2E6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#2E6A12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6A12
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6A12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6A12 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#29665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2e6a12; /* rgb */ color: rgb(46, 106, 18); /* oklch */ color: oklch(46.6% 0.133 138.1);
Tailwind
colors: {
custom: {
50: '#6e9558',
500: '#2e6a12',
950: '#000000',
},
}SCSS
$custom: #2e6a12; $custom-light: #6e9558; $custom-dark: #000000;
JSON
{
"hex": "#2e6a12",
"rgb": {
"r": 46,
"g": 106,
"b": 18
},
"hsl": {
"h": 100.909,
"s": 70.968,
"l": 24.314
},
"oklch": {
"l": 0.46632,
"c": 0.13299,
"h": 138.1
},
"luminance": 0.10933
}Semantic roles & 50–950 ramp
primary
#2E6A12
secondary
#7F36A2
accent
#3AEEB5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79