#2E6A1F#2E6A1F
#2E6A1F is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.124 H 139.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6A1F |
|---|---|
| RGB | rgb(46, 106, 31) |
| HSL | hsl(108, 55%, 27%) |
| HSV | hsv(108, 71%, 42%) |
| CMYK | cmyk(56.6%, 0%, 70.8%, 58.4%) |
| CIE-LAB | lab(39.56, -34.72, 34.90) |
| CIE-LCH | lch(39.56, 49.23, 134.85°) |
| OKLab | oklab(46.74% -0.0953 0.0801) |
| OKLCH | oklch(46.74% 0.124 139.9) |
| XYZ | xyz(6.5278, 10.9873, 3.0728) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.32
Deep Green
#02590F
ΔE00 6.38
Forest Green
#2D5A27
ΔE00 6.49
Darkish Green
#287C37
ΔE00 6.80
Tree Green
#2A7E19
ΔE00 7.22
Forest
#0B5509
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6A1F #5B1F6A
analogous
#546A1F #2E6A1F #1F6A36
triadic
#2E6A1F #1F2E6A #6A1F2E
tetradic
#2E6A1F #1F546A #5B1F6A #6A361F
square
#2E6A1F #1F546A #5B1F6A #6A361F
split-complementary
#2E6A1F #361F6A #6A1F54
monochromatic
#0A1807 #193B11 #2E6A1F #43992D #59C63D
Accessibility & contrast
On white
6.57
#2E6A1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#2E6A1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6A1F
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6A1F | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6015
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#28665B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2e6a1f; /* rgb */ color: rgb(46, 106, 31); /* oklch */ color: oklch(46.7% 0.124 139.9);
Tailwind
colors: {
custom: {
50: '#6e955f',
500: '#2e6a1f',
950: '#000000',
},
}SCSS
$custom: #2e6a1f; $custom-light: #6e955f; $custom-dark: #000000;
JSON
{
"hex": "#2e6a1f",
"rgb": {
"r": 46,
"g": 106,
"b": 31
},
"hsl": {
"h": 108,
"s": 54.745,
"l": 26.863
},
"oklch": {
"l": 0.46738,
"c": 0.12449,
"h": 139.9
},
"luminance": 0.10988
}Semantic roles & 50–950 ramp
primary
#2E6A1F
secondary
#8D479E
accent
#4ADEC0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D05
muted
#7B7E79