#2C7E2A#2C7E2A
#2C7E2A is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.144 H 142.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7E2A |
|---|---|
| RGB | rgb(44, 126, 42) |
| HSL | hsl(119, 50%, 33%) |
| HSV | hsv(119, 67%, 49%) |
| CMYK | cmyk(65.1%, 0%, 66.7%, 50.6%) |
| CIE-LAB | lab(46.48, -42.10, 37.38) |
| CIE-LCH | lch(46.48, 56.30, 138.40°) |
| OKLab | oklab(52.46% -0.1145 0.0867) |
| OKLCH | oklch(52.46% 0.144 142.8) |
| XYZ | xyz(8.9170, 15.6235, 4.7358) |
| Luminance | 0.1562 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.29
Darkish Green
#287C37
ΔE00 2.83
Green
#008000
ΔE00 4.17
Dark Grass Green
#388004
ΔE00 4.88
Forestgreen (CSS)
#228B22
ΔE00 4.98
Jungle Green
#048243
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7E2A #7C2A7E
analogous
#567E2A #2C7E2A #2A7E52
triadic
#2C7E2A #2A2C7E #7E2A2C
tetradic
#2C7E2A #2A567E #7C2A7E #7E522A
square
#2C7E2A #2A567E #7C2A7E #7E522A
split-complementary
#2C7E2A #522A7E #7E2A56
monochromatic
#0C220B #1C501B #2C7E2A #3CAC39 #5DC85A
Accessibility & contrast
On white
5.09
#2C7E2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#2C7E2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7E2A
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7E2A | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817220
Deuteranopia (green-blind)
#776B31
Tritanopia (blue-blind)
#1C7A6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2c7e2a; /* rgb */ color: rgb(44, 126, 42); /* oklch */ color: oklch(52.5% 0.144 142.8);
Tailwind
colors: {
custom: {
50: '#70a467',
500: '#2c7e2a',
950: '#000000',
},
}SCSS
$custom: #2c7e2a; $custom-light: #70a467; $custom-dark: #000000;
JSON
{
"hex": "#2c7e2a",
"rgb": {
"r": 44,
"g": 126,
"b": 42
},
"hsl": {
"h": 118.571,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.5246,
"c": 0.14361,
"h": 142.8
},
"luminance": 0.15624
}Semantic roles & 50–950 ramp
primary
#2C7E2A
secondary
#AC56AE
accent
#4EDAD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A