#2E6712#2E6712
#2E6712 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.8% C 0.129 H 137.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6712 |
|---|---|
| RGB | rgb(46, 103, 18) |
| HSL | hsl(100, 70%, 24%) |
| HSV | hsv(100, 83%, 40%) |
| CMYK | cmyk(55.3%, 0%, 82.5%, 59.6%) |
| CIE-LAB | lab(38.42, -34.53, 38.99) |
| CIE-LCH | lch(38.42, 52.08, 131.53°) |
| OKLab | oklab(45.77% -0.0956 0.0868) |
| OKLCH | oklch(45.77% 0.129 137.8) |
| XYZ | xyz(6.0859, 10.3245, 2.2443) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.64
Deep Green
#02590F
ΔE00 6.07
Forest
#0B5509
ΔE00 6.63
Camouflage Green
#4B6113
ΔE00 6.80
Forest Green
#2D5A27
ΔE00 6.86
Navy Green
#35530A
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6712 #4B1267
analogous
#586712 #2E6712 #126720
triadic
#2E6712 #122E67 #67122E
tetradic
#2E6712 #125867 #4B1267 #672012
square
#2E6712 #125867 #4B1267 #672012
split-complementary
#2E6712 #201267 #671258
monochromatic
#0C1A05 #173309 #2E6712 #459B1B #5DCF24
Accessibility & contrast
On white
6.85
#2E6712 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2E6712 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6712
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6712 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6712 | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#2A6357
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2e6712; /* rgb */ color: rgb(46, 103, 18); /* oklch */ color: oklch(45.8% 0.129 137.8);
Tailwind
colors: {
custom: {
50: '#6e9358',
500: '#2e6712',
950: '#000000',
},
}SCSS
$custom: #2e6712; $custom-light: #6e9358; $custom-dark: #000000;
JSON
{
"hex": "#2e6712",
"rgb": {
"r": 46,
"g": 103,
"b": 18
},
"hsl": {
"h": 100.235,
"s": 70.248,
"l": 23.725
},
"oklch": {
"l": 0.45768,
"c": 0.12913,
"h": 137.8
},
"luminance": 0.10325
}Semantic roles & 50–950 ramp
primary
#2E6712
secondary
#7C369F
accent
#3BEDB2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78