#2E6B1F#2E6B1F
#2E6B1F is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.126 H 140.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6B1F |
|---|---|
| RGB | rgb(46, 107, 31) |
| HSL | hsl(108, 55%, 27%) |
| HSV | hsv(108, 71%, 42%) |
| CMYK | cmyk(57%, 0%, 71%, 58%) |
| CIE-LAB | lab(39.91, -35.14, 35.27) |
| CIE-LCH | lch(39.91, 49.79, 134.89°) |
| OKLab | oklab(47.02% -0.0964 0.0809) |
| OKLCH | oklch(47.02% 0.126 140) |
| XYZ | xyz(6.6314, 11.1946, 3.1074) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.41
Darkish Green
#287C37
ΔE00 6.54
Deep Green
#02590F
ΔE00 6.65
Forest Green
#2D5A27
ΔE00 6.82
Tree Green
#2A7E19
ΔE00 6.87
Darkolivegreen
#556B2F
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6B1F #5C1F6B
analogous
#546B1F #2E6B1F #1F6B36
triadic
#2E6B1F #1F2E6B #6B1F2E
tetradic
#2E6B1F #1F546B #5C1F6B #6B361F
square
#2E6B1F #1F546B #5C1F6B #6B361F
split-complementary
#2E6B1F #361F6B #6B1F54
monochromatic
#0A1807 #1A3C11 #2E6B1F #429A2D #59C73D
Accessibility & contrast
On white
6.48
#2E6B1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#2E6B1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6B1F
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6B1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6B1F | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6114
Deuteranopia (green-blind)
#665C26
Tritanopia (blue-blind)
#27675C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2e6b1f; /* rgb */ color: rgb(46, 107, 31); /* oklch */ color: oklch(47.0% 0.126 140.0);
Tailwind
colors: {
custom: {
50: '#6e965f',
500: '#2e6b1f',
950: '#000000',
},
}SCSS
$custom: #2e6b1f; $custom-light: #6e965f; $custom-dark: #000000;
JSON
{
"hex": "#2e6b1f",
"rgb": {
"r": 46,
"g": 107,
"b": 31
},
"hsl": {
"h": 108.158,
"s": 55.072,
"l": 27.059
},
"oklch": {
"l": 0.47024,
"c": 0.12585,
"h": 140
},
"luminance": 0.11195
}Semantic roles & 50–950 ramp
primary
#2E6B1F
secondary
#8E479F
accent
#49DEC1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D05
muted
#7B7E79