#2C7420#2C7420
#2C7420 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.138 H 141.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7420 |
|---|---|
| RGB | rgb(44, 116, 32) |
| HSL | hsl(111, 57%, 29%) |
| HSV | hsv(111, 72%, 45%) |
| CMYK | cmyk(62.1%, 0%, 72.4%, 54.5%) |
| CIE-LAB | lab(42.96, -39.25, 38.04) |
| CIE-LCH | lch(42.96, 54.66, 135.89°) |
| OKLab | oklab(49.53% -0.1073 0.0869) |
| OKLCH | oklch(49.53% 0.138 141) |
| XYZ | xyz(7.5444, 13.1299, 3.5030) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.81
Darkish Green
#287C37
ΔE00 4.41
Green
#008000
ΔE00 5.43
Dark Grass Green
#388004
ΔE00 5.89
Darkgreen
#006400
ΔE00 6.11
Jungle Green
#048243
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7420 #682074
analogous
#567420 #2C7420 #20743E
triadic
#2C7420 #202C74 #74202C
tetradic
#2C7420 #205674 #682074 #743E20
square
#2C7420 #205674 #682074 #743E20
split-complementary
#2C7420 #3E2074 #742056
monochromatic
#091807 #1A4413 #2C7420 #3EA42D #57CB43
Accessibility & contrast
On white
5.79
#2C7420 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#2C7420 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7420
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7420 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7420 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776913
Deuteranopia (green-blind)
#6E6328
Tritanopia (blue-blind)
#227063
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2c7420; /* rgb */ color: rgb(44, 116, 32); /* oklch */ color: oklch(49.5% 0.138 141.0);
Tailwind
colors: {
custom: {
50: '#6e9d61',
500: '#2c7420',
950: '#000000',
},
}SCSS
$custom: #2c7420; $custom-light: #6e9d61; $custom-dark: #000000;
JSON
{
"hex": "#2c7420",
"rgb": {
"r": 44,
"g": 116,
"b": 32
},
"hsl": {
"h": 111.429,
"s": 56.757,
"l": 29.02
},
"oklch": {
"l": 0.49525,
"c": 0.13809,
"h": 141
},
"luminance": 0.13131
}Semantic roles & 50–950 ramp
primary
#2C7420
secondary
#9A48A8
accent
#48E0CA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79