#2C7E1C#2C7E1C
#2C7E1C is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.153 H 140.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7E1C |
|---|---|
| RGB | rgb(44, 126, 28) |
| HSL | hsl(110, 64%, 30%) |
| HSV | hsv(110, 78%, 49%) |
| CMYK | cmyk(65.1%, 0%, 77.8%, 50.6%) |
| CIE-LAB | lab(46.37, -43.41, 43.10) |
| CIE-LCH | lch(46.37, 61.17, 135.20°) |
| OKLab | oklab(52.33% -0.1188 0.0969) |
| OKLCH | oklch(52.33% 0.153 140.8) |
| XYZ | xyz(8.7087, 15.5402, 3.6390) |
| Luminance | 0.1554 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.33
Green
#008000
ΔE00 2.71
Dark Grass Green
#388004
ΔE00 3.05
Forestgreen (CSS)
#228B22
ΔE00 4.63
Darkish Green
#287C37
ΔE00 4.78
Emerald Green
#028F1E
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7E1C #6E1C7E
analogous
#5D7E1C #2C7E1C #1C7E3D
triadic
#2C7E1C #1C2C7E #7E1C2C
tetradic
#2C7E1C #1C5D7E #6E1C7E #7E3D1C
square
#2C7E1C #1C5D7E #6E1C7E #7E3D1C
split-complementary
#2C7E1C #3D1C7E #7E1C5D
monochromatic
#091A06 #1B4C11 #2C7E1C #3DB027 #58D540
Accessibility & contrast
On white
5.11
#2C7E1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#2C7E1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7E1C
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7E1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7E1C | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817207
Deuteranopia (green-blind)
#786B27
Tritanopia (blue-blind)
#1F7A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2c7e1c; /* rgb */ color: rgb(44, 126, 28); /* oklch */ color: oklch(52.3% 0.153 140.8);
Tailwind
colors: {
custom: {
50: '#71a460',
500: '#2c7e1c',
950: '#000000',
},
}SCSS
$custom: #2c7e1c; $custom-light: #71a460; $custom-dark: #000000;
JSON
{
"hex": "#2c7e1c",
"rgb": {
"r": 44,
"g": 126,
"b": 28
},
"hsl": {
"h": 110.204,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.52332,
"c": 0.15331,
"h": 140.8
},
"luminance": 0.15541
}Semantic roles & 50–950 ramp
primary
#2C7E1C
secondary
#A044B2
accent
#41E7CC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79