#2C7142#2C7142
#2C7142 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.2% C 0.102 H 151.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7142 |
|---|---|
| RGB | rgb(44, 113, 66) |
| HSL | hsl(139, 44%, 31%) |
| HSV | hsv(139, 61%, 44%) |
| CMYK | cmyk(61.1%, 0%, 41.6%, 55.7%) |
| CIE-LAB | lab(42.37, -33.13, 19.78) |
| CIE-LCH | lch(42.37, 38.58, 149.16°) |
| OKLab | oklab(49.18% -0.0897 0.0492) |
| OKLCH | oklch(49.18% 0.102 151.3) |
| XYZ | xyz(7.9266, 12.7383, 7.1942) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.63
Jungle Green
#048243
ΔE00 6.61
Spruce
#0A5F38
ΔE00 6.67
Pine
#2B5D34
ΔE00 6.76
Hunter Green
#355E3B
ΔE00 7.12
Forest Green
#2D5A27
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7142 #712C5B
analogous
#38712C #2C7142 #2C7164
triadic
#2C7142 #422C71 #71422C
tetradic
#2C7142 #2C3871 #712C5B #71642C
square
#2C7142 #2C3871 #712C5B #71642C
split-complementary
#2C7142 #642C71 #712C38
monochromatic
#0A190F #1B4528 #2C7142 #3D9D5C #59BE79
Accessibility & contrast
On white
5.92
#2C7142 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#2C7142 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7142
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7142 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71683F
Deuteranopia (green-blind)
#686145
Tritanopia (blue-blind)
#186F65
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2c7142; /* rgb */ color: rgb(44, 113, 66); /* oklch */ color: oklch(49.2% 0.102 151.3);
Tailwind
colors: {
custom: {
50: '#6c9a77',
500: '#2c7142',
950: '#000000',
},
}SCSS
$custom: #2c7142; $custom-light: #6c9a77; $custom-dark: #000000;
JSON
{
"hex": "#2c7142",
"rgb": {
"r": 44,
"g": 113,
"b": 66
},
"hsl": {
"h": 139.13,
"s": 43.949,
"l": 30.784
},
"oklch": {
"l": 0.49179,
"c": 0.10228,
"h": 151.3
},
"luminance": 0.12739
}Semantic roles & 50–950 ramp
primary
#2C7142
secondary
#A3568A
accent
#54ABD4
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B