#2C7A2F#2C7A2F
#2C7A2F is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.134 H 143.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7A2F |
|---|---|
| RGB | rgb(44, 122, 47) |
| HSL | hsl(122, 47%, 33%) |
| HSV | hsv(122, 64%, 48%) |
| CMYK | cmyk(63.9%, 0%, 61.5%, 52.2%) |
| CIE-LAB | lab(45.16, -39.95, 33.50) |
| CIE-LCH | lch(45.16, 52.14, 140.01°) |
| OKLab | oklab(51.39% -0.1084 0.079) |
| OKLCH | oklch(51.39% 0.134 143.9) |
| XYZ | xyz(8.5108, 14.6590, 5.0697) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.65
Tree Green
#2A7E19
ΔE00 3.82
Jungle Green
#048243
ΔE00 5.08
Green
#008000
ΔE00 5.62
Dark Grass Green
#388004
ΔE00 6.40
Forestgreen (CSS)
#228B22
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7A2F #7A2C77
analogous
#507A2C #2C7A2F #2C7A56
triadic
#2C7A2F #2F2C7A #7A2F2C
tetradic
#2C7A2F #2C507A #7A2C77 #7A562C
square
#2C7A2F #2C507A #7A2C77 #7A562C
split-complementary
#2C7A2F #562C7A #7A2C50
monochromatic
#0C200C #1C4D1E #2C7A2F #3CA740 #5CC460
Accessibility & contrast
On white
5.34
#2C7A2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#2C7A2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7A2F
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7A2F | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6F27
Deuteranopia (green-blind)
#736835
Tritanopia (blue-blind)
#1C776A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2c7a2f; /* rgb */ color: rgb(44, 122, 47); /* oklch */ color: oklch(51.4% 0.134 143.9);
Tailwind
colors: {
custom: {
50: '#6fa16a',
500: '#2c7a2f',
950: '#000000',
},
}SCSS
$custom: #2c7a2f; $custom-light: #6fa16a; $custom-dark: #000000;
JSON
{
"hex": "#2c7a2f",
"rgb": {
"r": 44,
"g": 122,
"b": 47
},
"hsl": {
"h": 122.308,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.51392,
"c": 0.13408,
"h": 143.9
},
"luminance": 0.1466
}Semantic roles & 50–950 ramp
primary
#2C7A2F
secondary
#AA57A7
accent
#51D1D7
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F07
muted
#7B7F7A