#2C7F52#2C7F52
#2C7F52 is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.4% C 0.107 H 156.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7F52 |
|---|---|
| RGB | rgb(44, 127, 82) |
| HSL | hsl(147, 49%, 34%) |
| HSV | hsv(147, 65%, 50%) |
| CMYK | cmyk(65.4%, 0%, 35.4%, 50.2%) |
| CIE-LAB | lab(47.39, -36.03, 17.31) |
| CIE-LCH | lch(47.39, 39.97, 154.35°) |
| OKLab | oklab(53.41% -0.0978 0.0436) |
| OKLCH | oklch(53.41% 0.107 156) |
| XYZ | xyz(10.1502, 16.3224, 10.5966) |
| Luminance | 0.1632 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Sea Green
#11875D
ΔE00 3.70
Jungle Green
#048243
ΔE00 4.28
Sea Green
#2E8B57
ΔE00 4.44
Darkish Green
#287C37
ΔE00 5.85
Viridian
#1E9167
ΔE00 6.88
Dark Sage
#598556
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7F52 #7F2C59
analogous
#2F7F2C #2C7F52 #2C7F7B
triadic
#2C7F52 #522C7F #7F522C
tetradic
#2C7F52 #2C2F7F #7F2C59 #7F7B2C
square
#2C7F52 #2C2F7F #7F2C59 #7F7B2C
split-complementary
#2C7F52 #7B2C7F #7F2C2F
monochromatic
#0D2417 #1C5235 #2C7F52 #3CAC6F #5EC78E
Accessibility & contrast
On white
4.92
#2C7F52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#2C7F52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7F52
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7F52 | 1.00 | 4.92 | 4.26 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E754F
Deuteranopia (green-blind)
#736D55
Tritanopia (blue-blind)
#017E73
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2c7f52; /* rgb */ color: rgb(44, 127, 82); /* oklch */ color: oklch(53.4% 0.107 156.0);
Tailwind
colors: {
custom: {
50: '#6fa583',
500: '#2c7f52',
950: '#000000',
},
}SCSS
$custom: #2c7f52; $custom-light: #6fa583; $custom-dark: #000000;
JSON
{
"hex": "#2c7f52",
"rgb": {
"r": 44,
"g": 127,
"b": 82
},
"hsl": {
"h": 147.47,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.53405,
"c": 0.10708,
"h": 156
},
"luminance": 0.16323
}Semantic roles & 50–950 ramp
primary
#2C7F52
secondary
#AD5987
accent
#509AD8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C