#2C7140#2C7140
#2C7140 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.1% C 0.104 H 150.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7140 |
|---|---|
| RGB | rgb(44, 113, 64) |
| HSL | hsl(137, 44%, 31%) |
| HSV | hsv(137, 61%, 44%) |
| CMYK | cmyk(61.1%, 0%, 43.4%, 55.7%) |
| CIE-LAB | lab(42.33, -33.51, 20.88) |
| CIE-LCH | lch(42.33, 39.48, 148.08°) |
| OKLab | oklab(49.14% -0.0907 0.0517) |
| OKLCH | oklch(49.14% 0.104 150.3) |
| XYZ | xyz(7.8687, 12.7152, 6.8891) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.26
Jungle Green
#048243
ΔE00 6.48
Pine
#2B5D34
ΔE00 6.79
Spruce
#0A5F38
ΔE00 6.81
Hunter Green
#355E3B
ΔE00 7.25
Forest Green
#2D5A27
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7140 #712C5D
analogous
#3A712C #2C7140 #2C7162
triadic
#2C7140 #402C71 #71402C
tetradic
#2C7140 #2C3A71 #712C5D #71622C
square
#2C7140 #2C3A71 #712C5D #71622C
split-complementary
#2C7140 #622C71 #712C3A
monochromatic
#0A190E #1B4527 #2C7140 #3D9D59 #59BE76
Accessibility & contrast
On white
5.93
#2C7140 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#2C7140 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7140
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7140 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72683C
Deuteranopia (green-blind)
#686143
Tritanopia (blue-blind)
#196F65
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2c7140; /* rgb */ color: rgb(44, 113, 64); /* oklch */ color: oklch(49.1% 0.104 150.3);
Tailwind
colors: {
custom: {
50: '#6c9a75',
500: '#2c7140',
950: '#000000',
},
}SCSS
$custom: #2c7140; $custom-light: #6c9a75; $custom-dark: #000000;
JSON
{
"hex": "#2c7140",
"rgb": {
"r": 44,
"g": 113,
"b": 64
},
"hsl": {
"h": 137.391,
"s": 43.949,
"l": 30.784
},
"oklch": {
"l": 0.49138,
"c": 0.10436,
"h": 150.3
},
"luminance": 0.12716
}Semantic roles & 50–950 ramp
primary
#2C7140
secondary
#A3568C
accent
#54AFD4
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B