#2C7F1E#2C7F1E
#2C7F1E is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.153 H 141.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7F1E |
|---|---|
| RGB | rgb(44, 127, 30) |
| HSL | hsl(111, 62%, 31%) |
| HSV | hsv(111, 76%, 50%) |
| CMYK | cmyk(65.4%, 0%, 76.4%, 50.2%) |
| CIE-LAB | lab(46.72, -43.62, 42.71) |
| CIE-LCH | lch(46.72, 61.05, 135.60°) |
| OKLab | oklab(52.63% -0.1193 0.0964) |
| OKLCH | oklch(52.63% 0.153 141.1) |
| XYZ | xyz(8.8620, 15.8071, 3.8121) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.61
Green
#008000
ΔE00 2.76
Dark Grass Green
#388004
ΔE00 3.15
Forestgreen (CSS)
#228B22
ΔE00 4.27
Darkish Green
#287C37
ΔE00 4.67
Emerald Green
#028F1E
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7F1E #711E7F
analogous
#5C7F1E #2C7F1E #1E7F40
triadic
#2C7F1E #1E2C7F #7F1E2C
tetradic
#2C7F1E #1E5C7F #711E7F #7F401E
square
#2C7F1E #1E5C7F #711E7F #7F401E
split-complementary
#2C7F1E #401E7F #7F1E5C
monochromatic
#0A1C07 #1B4D12 #2C7F1E #3DB12A #59D344
Accessibility & contrast
On white
5.05
#2C7F1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#2C7F1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7F1E
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7F1E | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82730B
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#1E7B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2c7f1e; /* rgb */ color: rgb(44, 127, 30); /* oklch */ color: oklch(52.6% 0.153 141.1);
Tailwind
colors: {
custom: {
50: '#71a561',
500: '#2c7f1e',
950: '#000000',
},
}SCSS
$custom: #2c7f1e; $custom-light: #71a561; $custom-dark: #000000;
JSON
{
"hex": "#2c7f1e",
"rgb": {
"r": 44,
"g": 127,
"b": 30
},
"hsl": {
"h": 111.34,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.5263,
"c": 0.15334,
"h": 141.1
},
"luminance": 0.15808
}Semantic roles & 50–950 ramp
primary
#2C7F1E
secondary
#A347B2
accent
#43E5CD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79