#2C7D40#2C7D40
#2C7D40 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.122 H 148.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7D40 |
|---|---|
| RGB | rgb(44, 125, 64) |
| HSL | hsl(135, 48%, 33%) |
| HSV | hsv(135, 65%, 49%) |
| CMYK | cmyk(64.8%, 0%, 48.8%, 51%) |
| CIE-LAB | lab(46.41, -38.62, 26.11) |
| CIE-LCH | lch(46.41, 46.62, 145.94°) |
| OKLab | oklab(52.49% -0.1043 0.0637) |
| OKLCH | oklch(52.49% 0.122 148.6) |
| XYZ | xyz(9.2971, 15.5719, 7.3652) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.74
Jungle Green
#048243
ΔE00 2.79
Sea Green
#2E8B57
ΔE00 5.95
Tree Green
#2A7E19
ΔE00 6.64
Dark Sea Green
#11875D
ΔE00 7.05
Dark Sage
#598556
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7D40 #7D2C69
analogous
#407D2C #2C7D40 #2C7D68
triadic
#2C7D40 #402C7D #7D402C
tetradic
#2C7D40 #2C407D #7D2C69 #7D682C
square
#2C7D40 #2C407D #7D2C69 #7D682C
split-complementary
#2C7D40 #682C7D #7D2C40
monochromatic
#0C2212 #1C5029 #2C7D40 #3CAA57 #5DC677
Accessibility & contrast
On white
5.10
#2C7D40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#2C7D40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7D40
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7D40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7D40 | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E723B
Deuteranopia (green-blind)
#746B44
Tritanopia (blue-blind)
#137B6F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2c7d40; /* rgb */ color: rgb(44, 125, 64); /* oklch */ color: oklch(52.5% 0.122 148.6);
Tailwind
colors: {
custom: {
50: '#6fa376',
500: '#2c7d40',
950: '#000000',
},
}SCSS
$custom: #2c7d40; $custom-light: #6fa376; $custom-dark: #000000;
JSON
{
"hex": "#2c7d40",
"rgb": {
"r": 44,
"g": 125,
"b": 64
},
"hsl": {
"h": 134.815,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.52491,
"c": 0.12223,
"h": 148.6
},
"luminance": 0.15573
}Semantic roles & 50–950 ramp
primary
#2C7D40
secondary
#AC5998
accent
#50B6D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B