#2E6C1F#2E6C1F
#2E6C1F is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.3% C 0.127 H 140.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6C1F |
|---|---|
| RGB | rgb(46, 108, 31) |
| HSL | hsl(108, 55%, 27%) |
| HSV | hsv(108, 71%, 42%) |
| CMYK | cmyk(57.4%, 0%, 71.3%, 57.6%) |
| CIE-LAB | lab(40.25, -35.55, 35.64) |
| CIE-LCH | lch(40.25, 50.34, 134.93°) |
| OKLab | oklab(47.31% -0.0975 0.0817) |
| OKLCH | oklch(47.31% 0.127 140) |
| XYZ | xyz(6.7363, 11.4043, 3.1423) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.52
Darkish Green
#287C37
ΔE00 6.28
Tree Green
#2A7E19
ΔE00 6.52
Deep Green
#02590F
ΔE00 6.93
Forest Green
#2D5A27
ΔE00 7.16
Darkolivegreen
#556B2F
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6C1F #5D1F6C
analogous
#546C1F #2E6C1F #1F6C37
triadic
#2E6C1F #1F2E6C #6C1F2E
tetradic
#2E6C1F #1F546C #5D1F6C #6C371F
square
#2E6C1F #1F546C #5D1F6C #6C371F
split-complementary
#2E6C1F #371F6C #6C1F54
monochromatic
#0A1807 #1A3C11 #2E6C1F #429C2D #59C83E
Accessibility & contrast
On white
6.40
#2E6C1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#2E6C1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6C1F
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6C1F | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6214
Deuteranopia (green-blind)
#675D26
Tritanopia (blue-blind)
#27685C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2e6c1f; /* rgb */ color: rgb(46, 108, 31); /* oklch */ color: oklch(47.3% 0.127 140.0);
Tailwind
colors: {
custom: {
50: '#6e975f',
500: '#2e6c1f',
950: '#000000',
},
}SCSS
$custom: #2e6c1f; $custom-light: #6e975f; $custom-dark: #000000;
JSON
{
"hex": "#2e6c1f",
"rgb": {
"r": 46,
"g": 108,
"b": 31
},
"hsl": {
"h": 108.312,
"s": 55.396,
"l": 27.255
},
"oklch": {
"l": 0.4731,
"c": 0.12722,
"h": 140
},
"luminance": 0.11405
}Semantic roles & 50–950 ramp
primary
#2E6C1F
secondary
#8F47A0
accent
#49DFC2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D05
muted
#7B7E79