#2C7240#2C7240
#2C7240 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.4% C 0.106 H 150.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7240 |
|---|---|
| RGB | rgb(44, 114, 64) |
| HSL | hsl(137, 44%, 31%) |
| HSV | hsv(137, 61%, 45%) |
| CMYK | cmyk(61.4%, 0%, 43.9%, 55.3%) |
| CIE-LAB | lab(42.67, -33.95, 21.32) |
| CIE-LCH | lch(42.67, 40.09, 147.87°) |
| OKLab | oklab(49.42% -0.0918 0.0527) |
| OKLCH | oklch(49.42% 0.106 150.1) |
| XYZ | xyz(7.9809, 12.9395, 6.9265) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.89
Jungle Green
#048243
ΔE00 6.12
Pine
#2B5D34
ΔE00 7.14
Spruce
#0A5F38
ΔE00 7.16
Hunter Green
#355E3B
ΔE00 7.61
Forest Green
#2D5A27
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7240 #722C5E
analogous
#3B722C #2C7240 #2C7263
triadic
#2C7240 #402C72 #72402C
tetradic
#2C7240 #2C3B72 #722C5E #72632C
square
#2C7240 #2C3B72 #722C5E #72632C
split-complementary
#2C7240 #632C72 #722C3B
monochromatic
#0A1A0E #1B4627 #2C7240 #3D9E59 #59BF76
Accessibility & contrast
On white
5.85
#2C7240 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#2C7240 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7240
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7240 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73693C
Deuteranopia (green-blind)
#696243
Tritanopia (blue-blind)
#197066
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2c7240; /* rgb */ color: rgb(44, 114, 64); /* oklch */ color: oklch(49.4% 0.106 150.1);
Tailwind
colors: {
custom: {
50: '#6d9b75',
500: '#2c7240',
950: '#000000',
},
}SCSS
$custom: #2c7240; $custom-light: #6d9b75; $custom-dark: #000000;
JSON
{
"hex": "#2c7240",
"rgb": {
"r": 44,
"g": 114,
"b": 64
},
"hsl": {
"h": 137.143,
"s": 44.304,
"l": 30.98
},
"oklch": {
"l": 0.49418,
"c": 0.1059,
"h": 150.1
},
"luminance": 0.1294
}Semantic roles & 50–950 ramp
primary
#2C7240
secondary
#A4568D
accent
#54AFD4
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B