#2C7F50#2C7F50
#2C7F50 is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.4% C 0.109 H 155.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7F50 |
|---|---|
| RGB | rgb(44, 127, 80) |
| HSL | hsl(146, 49%, 34%) |
| HSV | hsv(146, 65%, 50%) |
| CMYK | cmyk(65.4%, 0%, 37%, 50.2%) |
| CIE-LAB | lab(47.36, -36.45, 18.40) |
| CIE-LCH | lch(47.36, 40.83, 153.22°) |
| OKLab | oklab(53.36% -0.0988 0.0462) |
| OKLCH | oklch(53.36% 0.109 155) |
| XYZ | xyz(10.0752, 16.2924, 10.2016) |
| Luminance | 0.1629 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.84
Dark Sea Green
#11875D
ΔE00 3.99
Sea Green
#2E8B57
ΔE00 4.36
Darkish Green
#287C37
ΔE00 5.33
Dark Sage
#598556
ΔE00 6.87
Viridian
#1E9167
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7F50 #7F2C5B
analogous
#317F2C #2C7F50 #2C7F79
triadic
#2C7F50 #502C7F #7F502C
tetradic
#2C7F50 #2C317F #7F2C5B #7F792C
square
#2C7F50 #2C317F #7F2C5B #7F792C
split-complementary
#2C7F50 #792C7F #7F2C31
monochromatic
#0D2417 #1C5233 #2C7F50 #3CAC6D #5EC78C
Accessibility & contrast
On white
4.93
#2C7F50 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#2C7F50 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7F50
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7F50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7F50 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F754D
Deuteranopia (green-blind)
#746D53
Tritanopia (blue-blind)
#037E73
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2c7f50; /* rgb */ color: rgb(44, 127, 80); /* oklch */ color: oklch(53.4% 0.109 155.0);
Tailwind
colors: {
custom: {
50: '#6fa581',
500: '#2c7f50',
950: '#000000',
},
}SCSS
$custom: #2c7f50; $custom-light: #6fa581; $custom-dark: #000000;
JSON
{
"hex": "#2c7f50",
"rgb": {
"r": 44,
"g": 127,
"b": 80
},
"hsl": {
"h": 146.024,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.53361,
"c": 0.10906,
"h": 155
},
"luminance": 0.16293
}Semantic roles & 50–950 ramp
primary
#2C7F50
secondary
#AD5989
accent
#509DD8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C