#2E6F1F#2E6F1F
#2E6F1F is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.2% C 0.131 H 140.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6F1F |
|---|---|
| RGB | rgb(46, 111, 31) |
| HSL | hsl(109, 56%, 28%) |
| HSV | hsv(109, 72%, 44%) |
| CMYK | cmyk(58.6%, 0%, 72.1%, 56.5%) |
| CIE-LAB | lab(41.29, -36.79, 36.74) |
| CIE-LCH | lch(41.29, 51.99, 135.04°) |
| OKLab | oklab(48.17% -0.1009 0.084) |
| OKLCH | oklch(48.17% 0.131 140.2) |
| XYZ | xyz(7.0582, 12.0481, 3.2496) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.01
Tree Green
#2A7E19
ΔE00 5.48
Darkish Green
#287C37
ΔE00 5.56
Green
#008000
ΔE00 6.98
Dark Grass Green
#388004
ΔE00 7.24
Darkolivegreen
#556B2F
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6F1F #601F6F
analogous
#566F1F #2E6F1F #1F6F38
triadic
#2E6F1F #1F2E6F #6F1F2E
tetradic
#2E6F1F #1F566F #601F6F #6F381F
square
#2E6F1F #1F566F #601F6F #6F381F
split-complementary
#2E6F1F #381F6F #6F1F56
monochromatic
#0A1807 #1A3F12 #2E6F1F #429F2C #59C93F
Accessibility & contrast
On white
6.16
#2E6F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#2E6F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6F1F
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6F1F | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726513
Deuteranopia (green-blind)
#6A5F26
Tritanopia (blue-blind)
#266B5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2e6f1f; /* rgb */ color: rgb(46, 111, 31); /* oklch */ color: oklch(48.2% 0.131 140.2);
Tailwind
colors: {
custom: {
50: '#6e995f',
500: '#2e6f1f',
950: '#000000',
},
}SCSS
$custom: #2e6f1f; $custom-light: #6e995f; $custom-dark: #000000;
JSON
{
"hex": "#2e6f1f",
"rgb": {
"r": 46,
"g": 111,
"b": 31
},
"hsl": {
"h": 108.75,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.48167,
"c": 0.13126,
"h": 140.2
},
"luminance": 0.12049
}Semantic roles & 50–950 ramp
primary
#2E6F1F
secondary
#9247A3
accent
#48E0C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79