#2C7A42#2C7A42
#2C7A42 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.7% C 0.116 H 149.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7A42 |
|---|---|
| RGB | rgb(44, 122, 66) |
| HSL | hsl(137, 47%, 33%) |
| HSV | hsv(137, 64%, 48%) |
| CMYK | cmyk(63.9%, 0%, 45.9%, 52.2%) |
| CIE-LAB | lab(45.42, -37.02, 23.75) |
| CIE-LCH | lch(45.42, 43.99, 147.32°) |
| OKLab | oklab(51.69% -0.1 0.0584) |
| OKLCH | oklch(51.69% 0.116 149.7) |
| XYZ | xyz(8.9809, 14.8470, 7.5457) |
| Luminance | 0.1485 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.69
Jungle Green
#048243
ΔE00 3.53
Sea Green
#2E8B57
ΔE00 6.52
Dark Sea Green
#11875D
ΔE00 6.96
Tree Green
#2A7E19
ΔE00 7.65
Dark Sage
#598556
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7A42 #7A2C64
analogous
#3D7A2C #2C7A42 #2C7A69
triadic
#2C7A42 #422C7A #7A422C
tetradic
#2C7A42 #2C3D7A #7A2C64 #7A692C
square
#2C7A42 #2C3D7A #7A2C64 #7A692C
split-complementary
#2C7A42 #692C7A #7A2C3D
monochromatic
#0C2011 #1C4D2A #2C7A42 #3CA75A #5CC47A
Accessibility & contrast
On white
5.29
#2C7A42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#2C7A42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7A42
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7A42 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B703E
Deuteranopia (green-blind)
#716946
Tritanopia (blue-blind)
#14786C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2c7a42; /* rgb */ color: rgb(44, 122, 66); /* oklch */ color: oklch(51.7% 0.116 149.7);
Tailwind
colors: {
custom: {
50: '#6ea177',
500: '#2c7a42',
950: '#000000',
},
}SCSS
$custom: #2c7a42; $custom-light: #6ea177; $custom-dark: #000000;
JSON
{
"hex": "#2c7a42",
"rgb": {
"r": 44,
"g": 122,
"b": 66
},
"hsl": {
"h": 136.923,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.51691,
"c": 0.11583,
"h": 149.7
},
"luminance": 0.14848
}Semantic roles & 50–950 ramp
primary
#2C7A42
secondary
#AA5793
accent
#51B1D7
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#080F08
muted
#7A7F7B