#2C7F45#2C7F45
#2C7F45 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.120 H 150.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7F45 |
|---|---|
| RGB | rgb(44, 127, 69) |
| HSL | hsl(138, 49%, 34%) |
| HSV | hsv(138, 65%, 50%) |
| CMYK | cmyk(65.4%, 0%, 45.7%, 50.2%) |
| CIE-LAB | lab(47.16, -38.58, 24.32) |
| CIE-LCH | lch(47.16, 45.61, 147.77°) |
| OKLab | oklab(53.14% -0.1041 0.0599) |
| OKLCH | oklch(53.14% 0.12 150.1) |
| XYZ | xyz(9.7015, 16.1429, 8.2337) |
| Luminance | 0.1614 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 2.37
Darkish Green
#287C37
ΔE00 2.75
Sea Green
#2E8B57
ΔE00 4.91
Dark Sea Green
#11875D
ΔE00 6.00
Dark Sage
#598556
ΔE00 6.90
Tree Green
#2A7E19
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7F45 #7F2C66
analogous
#3C7F2C #2C7F45 #2C7F6E
triadic
#2C7F45 #452C7F #7F452C
tetradic
#2C7F45 #2C3C7F #7F2C66 #7F6E2C
square
#2C7F45 #2C3C7F #7F2C66 #7F6E2C
split-complementary
#2C7F45 #6E2C7F #7F2C3C
monochromatic
#0D2414 #1C522C #2C7F45 #3CAC5E #5EC77E
Accessibility & contrast
On white
4.97
#2C7F45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#2C7F45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7F45
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7F45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7F45 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807441
Deuteranopia (green-blind)
#756D49
Tritanopia (blue-blind)
#0F7D71
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2c7f45; /* rgb */ color: rgb(44, 127, 69); /* oklch */ color: oklch(53.1% 0.120 150.1);
Tailwind
colors: {
custom: {
50: '#6fa579',
500: '#2c7f45',
950: '#000000',
},
}SCSS
$custom: #2c7f45; $custom-light: #6fa579; $custom-dark: #000000;
JSON
{
"hex": "#2c7f45",
"rgb": {
"r": 44,
"g": 127,
"b": 69
},
"hsl": {
"h": 138.072,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.53137,
"c": 0.12012,
"h": 150.1
},
"luminance": 0.16144
}Semantic roles & 50–950 ramp
primary
#2C7F45
secondary
#AD5994
accent
#50AFD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B