#2C7226#2C7226
#2C7226 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.131 H 142.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7226 |
|---|---|
| RGB | rgb(44, 114, 38) |
| HSL | hsl(115, 50%, 30%) |
| HSV | hsv(115, 67%, 45%) |
| CMYK | cmyk(61.4%, 0%, 66.7%, 55.3%) |
| CIE-LAB | lab(42.32, -37.83, 34.65) |
| CIE-LCH | lch(42.32, 51.30, 137.52°) |
| OKLab | oklab(49.02% -0.1031 0.0805) |
| OKLCH | oklch(49.02% 0.131 142) |
| XYZ | xyz(7.4055, 12.7094, 3.8962) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.14
Tree Green
#2A7E19
ΔE00 4.98
Darkgreen
#006400
ΔE00 5.95
Green
#008000
ΔE00 6.60
Dark Grass Green
#388004
ΔE00 7.16
Jungle Green
#048243
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7226 #6C2672
analogous
#527226 #2C7226 #267246
triadic
#2C7226 #262C72 #72262C
tetradic
#2C7226 #265272 #6C2672 #724626
square
#2C7226 #265272 #6C2672 #724626
split-complementary
#2C7226 #462672 #722652
monochromatic
#091708 #1A4417 #2C7226 #3EA035 #58C44E
Accessibility & contrast
On white
5.93
#2C7226 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#2C7226 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7226
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7226 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7226 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75681D
Deuteranopia (green-blind)
#6C622C
Tritanopia (blue-blind)
#216F62
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2c7226; /* rgb */ color: rgb(44, 114, 38); /* oklch */ color: oklch(49.0% 0.131 142.0);
Tailwind
colors: {
custom: {
50: '#6e9b64',
500: '#2c7226',
950: '#000000',
},
}SCSS
$custom: #2c7226; $custom-light: #6e9b64; $custom-dark: #000000;
JSON
{
"hex": "#2c7226",
"rgb": {
"r": 44,
"g": 114,
"b": 38
},
"hsl": {
"h": 115.263,
"s": 50,
"l": 29.804
},
"oklch": {
"l": 0.49017,
"c": 0.13081,
"h": 142
},
"luminance": 0.1271
}Semantic roles & 50–950 ramp
primary
#2C7226
secondary
#9E4FA5
accent
#4EDACF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E05
muted
#7B7E7A